Results 1 to 3 of 3

Thread: postfix routing for mail addressed to local machine

  1. #1
    sroylance is offline Junior Member
    Join Date
    Mar 2007
    Posts
    6
    Rep Power
    8

    Default postfix routing for mail addressed to local machine

    first off: I've just started with zimbra and it looks great so far, kudos on the hard work.

    I'm testing zimbra on a server in my domain that doesn't have any real domains MX'ed to it. To get some messages flowing I have my own mail forwarded from our production mail server to my address @ the hostname of the test zimbra server. In zimbra I have the hostname of the machine defined as a domain as an alias for the domain my user account is in. This seems to be creating a configuration that postfix is unhappy about (although the mail gets routed correctly). It produces this error in the log:
    Mar 18 10:03:58 trweb2 postfix/trivial-rewrite[23183]: warning: do not list domain hostname.domain.com in BOTH mydestination and virtual_alias_domains

    If I want zimbra to accept mail for the local machine's name and forward it to a specific domain in zimbra, is there a better way to do it?

    A related question: given that another MTA won't coexist with zimbra, how can I configure the system so that local mail (like logwatch and cronjob output) gets delivered? Does it work to symlink /etc/alternatives/mta to /opt/zimbra/postfix/sendmail?

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

    Default

    Hi Sroy, and welcome!
    Do a search on your first problem, I'm pretty sure it's covered.

    As for your second question, the local is:
    /opt/zimbra/postfix-${postfix_version}/sbin/sendmail
    Obviously, it really depends on which postfix you have. It's probably the highest one.
    I think that might be legacy/grandfathered. . .it might just be postfix

    -john

  3. #3
    sroylance is offline Junior Member
    Join Date
    Mar 2007
    Posts
    6
    Rep Power
    8

    Default

    1. the sendmail and mailq in /opt/zimbra/postfix work exactly as expected when linked from the appropriate /etc/alternatives.

    2. I have been unable to find an answer to the issue of appropriately routing mail for the machines local name. The MTA page in the wiki is a little light and the specifics of the interaction between zimbra and postfix are not clear to me.

    EDIT: I neglected to mention that routing for the local machine name works, I'm just concerned about the error.
    Last edited by sroylance; 03-25-2007 at 11:15 AM. Reason: forgot to post all information

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. postfix transport maps
    By pheonix1t in forum Administrators
    Replies: 12
    Last Post: 01-17-2009, 11:42 PM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. Replies: 3
    Last Post: 11-03-2007, 10:55 PM
  4. Replies: 13
    Last Post: 05-15-2007, 06:41 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

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