Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-06-2009, 08:17 AM
Intermediate Member
 
Posts: 21
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?
Reply With Quote
  #2 (permalink)  
Old 03-06-2009, 08:32 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

You could vote on this RFE: Bug 32740 – Per domain Relay MTA for external delivery
__________________
Regards


Bill

Last edited by phoenix; 03-06-2009 at 08:45 AM..
Reply With Quote
  #3 (permalink)  
Old 03-06-2009, 08:34 AM
Moderator
 
Posts: 7,928
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.
__________________
Reply With Quote
  #4 (permalink)  
Old 03-06-2009, 09:02 AM
Intermediate Member
 
Posts: 21
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.
Reply With Quote
  #5 (permalink)  
Old 03-06-2009, 09:04 AM
Moderator
 
Posts: 7,928
Default

How are you disabling access through ISP1 ? FW ?
__________________
Reply With Quote
  #6 (permalink)  
Old 03-06-2009, 09:16 AM
Intermediate Member
 
Posts: 21
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.
Reply With Quote
  #7 (permalink)  
Old 03-06-2009, 09:20 AM
Moderator
 
Posts: 7,928
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 ?
__________________
Reply With Quote
  #8 (permalink)  
Old 03-06-2009, 09:24 AM
Intermediate Member
 
Posts: 21
Default

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.