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 06-06-2008, 01:48 PM
Intermediate Member
 
Posts: 19
Default Relay MTA for external delivery

Guys, I have a very frustrating issue- I have the fqdn specified in this mta field and it's not actually using it.

There are a bunch of emails sitting in my deferred queue that when flushing or requeueing do not go out to my smarthost. I have used the following to try to force it b/c it wasn't taking my entry in the GUI:

sudo -u zimbra ./zmprov ms localhost zimbraMtaRelayHost server70.appriver.com:25

that shows up in my GUI just fine, restart zimbra with zmcontrol stop/start, send myself a test message and when i receive it and look at the internet headers it doesn't show that it went through any smart host. The reason stuff is sitting in my deferred queue is because the mail servers are having an issue with my PTR record-- normally not a problem b/c i send through an external MTA.

Very strange that in my audit.log I get this:
.168.168.201;ua=ZimbraWebClient - FF2.0 (Linux);] security - cmd=ModifyServer; name=zimbra.mail.hssc.com; zimbraMtaRelayHost=;

Why is the last parameter blank???

I have checked zmmtaconfig.log and see stuff like this:

Fri Jun 6 15:34:58 2008 Sleeping...Key lookup failed.
Fri Jun 6 15:35:10 2008 Skipping Configuration for server zimbra.mail.hssc.com No data returned.

Is there somewhere else I need to look to find out why it's not taking or what could be wrong? I try zmlocalconfig and don't see any reference to the external mta for relay.

Please help,, thanks
Reply With Quote
  #2 (permalink)  
Old 06-06-2008, 05:46 PM
Intermediate Member
 
Posts: 19
Default

Something must be wrong in dns/ldap.. Am I on the right track with that thought? I'm seeing this in zimbra.log

un 6 19:45:19 frontend slapd[31173]: conn=86 fd=14 closed (connection lost)
Jun 6 19:45:19 frontend slapd[31173]: conn=87 fd=15 closed (connection lost)
Jun 6 19:45:19 frontend zimbramon[31625]: 31625:info: zmmtaconfig: Skipping Configuration for server zimbra.mail.hssc.com No data returned.
Jun 6 19:45:19 frontend zimbramon[31625]: 31625:info: zmmtaconfig: Sleeping...Key lookup failed.
Reply With Quote
  #3 (permalink)  
Old 06-06-2008, 05:53 PM
Intermediate Member
 
Posts: 19
Default

I installed ldap-utils and tried the following,, is this even syntactically correct as a test? (my mail server is zimbra.mail.hssc.com)

# ldapsearch -x -D "cn=zimbra,cn=mail,dc=hssc,dc=com" -W
Enter LDAP Password:
ldap_bind: Can't contact LDAP server (-1)
root@frontend:/home/chris#
Reply With Quote
  #4 (permalink)  
Old 01-05-2009, 01:49 AM
Senior Member
 
Posts: 65
Default How to set multiple MTA for external mail?

I have 2 external mail servers.
And I try to set MTA for external mail in Admin UI.
I can set one.

How I set 2 MTA for external mail?
Reply With Quote
  #5 (permalink)  
Old 01-05-2009, 02:01 AM
Moderator
 
Posts: 7,928
Default

I don't think you can .. is this for resilience ?
__________________
Reply With Quote
  #6 (permalink)  
Old 06-21-2009, 10:16 PM
Member
 
Posts: 10
Default

For those who try to use multiple smarthosts / outgoing SMTP servers, you can do the following:

1. Setup a MX record for each of the smarthosts you'd like to use in your DNS zone file:

smtp-out.domain.com. IN MX 10 smtp-out-01.domain.com.
smtp-out.domain.com. IN MX 10 smtp-out-02.domain.com.

2. Point your Relay MTA for External Delivery (smarthost) to:

smtp-out.domain.com

3. Restart Zimbra.

And you're done.
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.