Results 1 to 8 of 8

Thread: Multiple MTAs?

  1. #1
    Join Date
    Nov 2008
    Location
    Vancouver
    Posts
    21
    Rep Power
    7

    Default Multiple MTAs?

    I'm wondering if there is any way to allow for two relay MTA entries in Zimbra.

    I have two ISPs, I default to using ISP1 for serving email, with my relay MTA set to smtp.ISP1.com. What I would like for is to have a second entry where I can enter smtp.ISP2.com as a relay MTA, for the case when ISP1 is offline. Is there any way I can do this?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Last edited by phoenix; 03-06-2009 at 09:45 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    You can try
    Code:
    su - zimbra
    zmprov gcf zimbraMtaRelayHost
    that will list the current relay; and then to add the second relay you would use
    Code:
    zmprov mcf +zimbraMtaRelayHost isp2.domain.com:25
    I believe this works as a fallback and not round-robin.

  4. #4
    Join Date
    Nov 2008
    Location
    Vancouver
    Posts
    21
    Rep Power
    7

    Default

    Hm, unfortunately it doesn't look like that works for me. I'm able to add the 2nd MTA, but after doing so, I get this message in my logs after I disable access through ISP1 (and try to force through ISP2 for testing of failover):

    Mar 6 08:55:33 SL-017 zimbramon[30437]: 30437:info: zmmtaconfig: Failed to reload mta rc=256

    Sending email begins to time out.

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    How are you disabling access through ISP1 ? FW ?

  6. #6
    Join Date
    Nov 2008
    Location
    Vancouver
    Posts
    21
    Rep Power
    7

    Default

    Yeah, through the firewall. I have it set up in a failover fashion so normally zimbra tries to use ISP1 to send through, and if it is offline, it'll failover to ISP2.

    This is what causes the problem, since if I have my MTA relay set to smtp.ISP1.com, and ISP1 is offline, they don't allow relaying when I'm entering through ISP2's connection.

  7. #7
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Hmmm, you could script it in perl ? Have a daemon process that checks whether the remote MTA is responding or not and if it does not switch your relay using zmprov. I presume the routing is handled via your FW/router to bring up the alternate connection ?

  8. #8
    Join Date
    Nov 2008
    Location
    Vancouver
    Posts
    21
    Rep Power
    7

    Default

    Yeah, if that is the only option, thats what I'll go for. The router is set to do failover automatically

Similar Threads

  1. Multiple Mail Accounts, Folders
    By skwdenyer in forum Users
    Replies: 12
    Last Post: 12-01-2013, 08:52 PM
  2. Multiple MTAs during migration
    By bmcdonald in forum Migration
    Replies: 4
    Last Post: 10-24-2007, 11:32 PM
  3. Replies: 4
    Last Post: 08-10-2006, 11:55 PM
  4. Mailman & Multiple MTAs
    By rsharpe in forum Administrators
    Replies: 1
    Last Post: 07-07-2006, 09:46 AM
  5. multiple domains with multiple MX records ?
    By msentissi in forum Administrators
    Replies: 1
    Last Post: 06-13-2006, 10:41 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
  •