Results 1 to 5 of 5

Thread: [SOLVED] 2nd external mta

  1. #1
    cayaraa's Avatar
    cayaraa is offline Special Member
    Join Date
    Jul 2009
    Posts
    106
    Rep Power
    6

    Default [SOLVED] 2nd external mta

    We've been running zimbra in a split domain for a while with zimbra acting as the secondary system. We added another upstream mta and we tried adding it as a second "Relay MTA for external delivery" through the zimbra admin console. This updated the postfix relayhost to have two MTAs....which caused postfix to error out with the following:

    Oct 25 08:51:40 zimbrahost postfix/trivial-rewrite[2409]: fatal: relayhost parameter setting must not contain multiple values: mta1.domain.com:25 mta2.domain.com:25
    Oct 25 08:51:41 zimbrahost postfix/master[11747]: warning: process /opt/zimbra/postfix/libexec/trivial-rewrite pid 2409 exit status 1
    Oct 25 08:51:41 zimbrahost postfix/master[11747]: warning: /opt/zimbra/postfix/libexec/trivial-rewrite: bad command startup -- throttling


    Anyone know if I did something wrong or am I running into a bug?

    Thanks.
    Last edited by cayaraa; 10-25-2010 at 10:56 AM.

  2. #2
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    You can only have one relay host specified in the settings.

    You'd have to set up some time of clustering if you wanted it to balance. DNS can do round-robin (multiple A records for one hostname), but there is no automatic failover if one goes down.
    01 Networks, LLC / Cybernetik.net
    Zimbra NE and OSS Cloud Hosting
    Shared Web Hosting
    Consulting Services

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

  4. #4
    cayaraa's Avatar
    cayaraa is offline Special Member
    Join Date
    Jul 2009
    Posts
    106
    Rep Power
    6

    Default

    Quote Originally Posted by Krishopper
    You'd have to set up some time of clustering if you wanted it to balance. DNS can do round-robin (multiple A records for one hostname), but there is no automatic failover if one goes down.
    Yup we've done DNS round-robin before for other services....not the best. And in this case we aren't to concerned about load balancing but failover.


    Thanks phoenix but these are mtas for the same domain so unless I'm misunderstanding that won't really work for us.



    Looking through some postfix stuff regarding this error I've ran into smtp_fallback_relay. Does anyone know if this is safe to use with zimbra in a split domain setup as the secondary server?

    *goes to test*


    As a side note....is it then a bug in the zimbra web administrative console that adding multiple external mtas puts them all in the postfix relayhost?

  5. #5
    cayaraa's Avatar
    cayaraa is offline Special Member
    Join Date
    Jul 2009
    Posts
    106
    Rep Power
    6

    Default

    Quote Originally Posted by cayaraa View Post
    Looking through some postfix stuff regarding this error I've ran into smtp_fallback_relay. Does anyone know if this is safe to use with zimbra in a split domain setup as the secondary server?

    *goes to test*
    This seems to be working:
    $ postconf -e fallback_relay=backupMTA.domain.com:25
    $ postfix reload

    in the postfix config smtp_fallback_relay = $ fallback_relay

    Please note: there are warnings about not using this when using MX records for mail routing.
    Postfix Configuration Parameters

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Daily mail report always reports "No messages found"
    By McPringle in forum Installation
    Replies: 42
    Last Post: 06-13-2011, 08:57 AM
  2. Relay MTA for external delivery
    By endorphine44 in forum Administrators
    Replies: 16
    Last Post: 05-08-2009, 08:24 AM
  3. zimbra daily reports problem - mta table is empty
    By sine in forum Administrators
    Replies: 4
    Last Post: 09-25-2008, 11:32 PM
  4. Relay MTA for External Delivery
    By GoneWestCoast in forum Administrators
    Replies: 8
    Last Post: 01-18-2008, 01:15 PM
  5. External MTA and TLS Question
    By 3RiversTechAdmin in forum Administrators
    Replies: 5
    Last Post: 12-20-2006, 10:36 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
  •