Results 1 to 3 of 3

Thread: Postfix configuration in a Zimbra rPath appliance

Hybrid View

  1. #1
    Join Date
    May 2007
    San Mateo
    Rep Power

    Default Postfix configuration in a Zimbra rPath appliance

    Back into testing and checking configuration. This may be more appropriate to the admin thread but I consider this installation as I'm still configuring the system.

    We have a pile of aliases and virtual addresses in our current postfix set up. So to make migration to Zimbra easier I was checking the postfix values for alias_maps and virtual_alias_maps. Yes, Zimbra does have the ability to handle this with it's aliases and distribution lists but that will take time to script to get them all in.

    So a realistic solution is to use our current postfix alias files.


    In /var/log/maillog:
    Jun 7 05:09:27 localhost postfix/smtpd[31548]: connect from[]
    Jun 7 05:09:27 localhost postfix/trivial-rewrite[31541]: warning: do not list domain in BOTH mydestination and virtual_mailbox_domains
    Jun 7 05:09:27 localhost postfix/smtpd[31548]: DD3F720B04E0:[]

    So it's taking the machine name as the value for mydomain.

    Add to
    mydoman =

    Now, everything seems to work. However:
    1. Have I broken something I don't know about?
    2. Will these changes need to be redone after any upgrade?

    I don't need an answer (although it would be nice) but the dev team may want to think about this. I think if they try setting mydomain in postfix it may help. It won't be right 100% of the time but something like:

    echo "mydomain = " `uname -n | awk -F. '{print $(NF-1) "." $NF}' `>>

    would help the config stage of Zimbra's postfix.

  2. #2
    Join Date
    Nov 2005
    Rep Power


    This warning doesn't hurt anything. FWIW this is fixed for ZCS 5.0 as Bug 11630. The installation defaults to using the hostname to create the first mail domain. Why not create the "" domain if you want to use it:

    su - zimbra
    zmprov createDomain

  3. #3
    Join Date
    May 2007
    San Mateo
    Rep Power


    I wasn't worried about anything being broken. I just knew how to solve this item.
    When I started testing about two weeks ago I didn't realize the Zimbra domain was used as the "mydomain" attribute in postfix. I was thinking the items were orthognal.

    When we move to production the domain will be after this. The fewer error messages that exist the easier it is to see real issues.

    It's just a little thing I noticed when testing aliases to spawn command line processing from email. Some people are worried about this sort of thing and it may help if this is considered in the postfix configuration side of Zimbra.

Similar Threads

  1. QUE Failure
    By tbullock in forum Administrators
    Replies: 31
    Last Post: 07-30-2008, 12:17 PM
  2. Replies: 8
    Last Post: 02-27-2007, 03:10 AM
  3. zimbra-core missing
    By kinaole in forum Developers
    Replies: 1
    Last Post: 10-02-2006, 11:59 AM
  4. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 12:00 PM
  5. port 7071 not listening OS X install
    By leeimber in forum Installation
    Replies: 7
    Last Post: 03-21-2006, 09:47 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