Results 1 to 4 of 4

Thread: [SOLVED] Postfix configuration - mydestination

  1. #1
    johnblade is offline Junior Member
    Join Date
    Sep 2007
    Posts
    7
    Rep Power
    6

    Default [SOLVED] Postfix configuration - mydestination

    I'm trying to have an email redirect to a script. I've got another subdomain, rt.mydomain.com, and I think it's good to go, but i have to edit the Postix main.cf.

    At the moment
    mydestination = localhost
    but i need to change it to
    mydestination = localhost rt.mydomain.com

    I found the main.cf in: postfix-2.4.3.3z/conf/main.cf . However it seems that Zimbra is re-writing the file all the time, because when I restart postfix it reverts back.

    So I checked the documentation and found the zmlocalconfig program. So I changed it to this:
    postfix_mydestination = localhost rt.stcpl.com.au

    But still no good, the postfix main.cf is still reverting back to localhost only...

    Any help please :P

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    19

    Default

    postconf -e postfix_mydestination = localhost rt.stcpl.com.au

  3. #3
    johnblade is offline Junior Member
    Join Date
    Sep 2007
    Posts
    7
    Rep Power
    6

    Default

    Quote Originally Posted by jholder View Post
    postconf -e postfix_mydestination = localhost rt.stcpl.com.au
    Thanks!
    postconf -e mydestination = localhost rt.stcpl.com.au

    Worked like a charm.

  4. #4
    deepblue is offline Partner (VAR/HSP)
    Join Date
    Jul 2006
    Location
    Stuttgart / Germany
    Posts
    219
    Rep Power
    7

    Default

    Hi,

    Quote Originally Posted by johnblade View Post
    Thanks!
    postconf -e mydestination = localhost rt.stcpl.com.au

    Worked like a charm.
    In my ZCS 5.0.2 installation this is not working. It will write the new mydestination to main.cf but it is overwritten on server restart. I had to set:

    zmprov ms your.server.com zimbraMtaMyDestination 'localhost some.other.host'

    and zmmtactl stop/start

    Regards
    Thomas

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 5.0 RC1: admin interface: no statistics, no mail queue
    By christian.kieft in forum Administrators
    Replies: 1
    Last Post: 11-13-2007, 08:22 AM
  2. Replies: 3
    Last Post: 11-03-2007, 10:55 PM
  3. Replies: 9
    Last Post: 10-11-2007, 04:22 AM
  4. Replies: 2
    Last Post: 06-07-2007, 03:21 PM
  5. Postfix Configuration & Mailman
    By pbucher in forum Administrators
    Replies: 4
    Last Post: 10-09-2006, 08:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •