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

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 08-20-2008, 08:07 PM
New Member
 
Posts: 3
Default Sending LMTP to localhost

I've got a NAT firewall setup. I don't want to poke a hole for 7025 on the external address so I need postfix to talk to 7025 on either the internal address or localhost. I tried disabling Enable DNS lookups and adding my mail server host as 127.0.0.1 in /etc/hosts. However, now when I try to email an external domain is tries contact the IP of the server's A record rather than the MX record. What am I doing wrong?

Thanks,
Mitch
Reply With Quote
  #2 (permalink)  
Old 08-21-2008, 10:18 AM
Zimbra Employee
 
Posts: 604
Default

You can force jetty to bind to a specific address by setting zimbraLmtpBindAddress on the server config.

The real problem is that provisioning new accounts will set zimbraMailTransport attribute on the account to something like lmtp:server.domain.tld:7025 where server.domain.tld is taken from the zimbraMailHost attribute and 7025 is taken from zimbraLmtpBindPort of the server.

Setting zimbraLmtpBindAddress will not change the default behaviour of zimbraMailTransport when provisioning new users.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 08-21-2008, 10:24 AM
New Member
 
Posts: 3
Default

Yuck. I read about the split DNS workaround. I'll try that.

Thanks,
Mitch
Reply With Quote
  #4 (permalink)  
Old 08-26-2008, 01:00 PM
New Member
 
Posts: 3
Default

I found the most painless solution was to use iptables:

iptables -t nat -A OUTPUT -p tcp -d EXTERNAL_IP --dport 7025 -j DNAT --to INTERNAL_IP
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.