Results 1 to 5 of 5

Thread: Local Delivery LMTP Problem

  1. #1
    CaptainFiesta is offline Intermediate Member
    Join Date
    Oct 2005
    Location
    Nashville, TN
    Posts
    21
    Rep Power
    9

    Default Local Delivery LMTP Problem

    I've added more RAM to accomodate mysql, got the hosts file correct and successfully setup Zimbra. I can login to the admin interface and the web client.

    There's only one problem remaining that I'm stuck on. When I try to send email to internal users, Postfix fails on trying to deliver the mail with lmtp. Here's what the zimbra.log tells me.

    Oct 3 19:47:31 mackenreusch postfix/lmtp[13927]: 0D0981772AF: to=, relay=none, delay=84404, status=deferred (connect to mackenreusch.reusch.net[209.149.57.168]: Connection refused)

    I *think* I understand what's happening, but I'm not sure how to fix it. The server lives behind a NAT router. The external IP is the 209.149.57.168 address and is what the hostname mackenreusch.reusch.net resolves to in DNS. It looks like postfix is doing a DNS lookup and trying to delivery to the public IP address instead of the server's internal IP, 192.168.2.52.

    I could setup an internal DNS server that would tell postfix mackenreusch.reusch.net resolves to 192.168.5.2, but I'd rather avoid having to setup bind if possible.

    From digging into the zimbra postfix setup, it looks like postfix gets the transport map from LDAP. Could I change the transport map to tell it to deliver mail to mackenreusch.reusch.net to the localhost LMTP server?

    I suspect I won't be the last person to run into this problem given how popular NAT is and hope the solution will be useful to others!

    I've been waiting for a viable open alternative to MS Exchange for a while, and Zimbra is by far the best I've seen. Way to go!

  2. #2
    anand is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    274
    Rep Power
    9

    Default disable_dns_lookups

    You should disable DNS lookups that postfix is doing by going to admin UI MTA tab.

  3. #3
    anand is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    274
    Rep Power
    9

    Default what disable_dns_lookups does

    just a clarification: disable_dns_lookups causes postfix to not use DNS directly (ie, libresolv), but instead causes it to use the glibc routines which respect /etc/hosts, /etc/resolv.conf etc.

  4. #4
    CaptainFiesta is offline Intermediate Member
    Join Date
    Oct 2005
    Location
    Nashville, TN
    Posts
    21
    Rep Power
    9

    Default It worked!

    Brilliant, thanks!

    I appreciate the clarification on what disable_dns_lookups actually does. I thought about turning it off, but figured postfix wouldn't be able to lookup remote domains to deliver mail to.

  5. #5
    CaptainFiesta is offline Intermediate Member
    Join Date
    Oct 2005
    Location
    Nashville, TN
    Posts
    21
    Rep Power
    9

    Default Also need to set relay_host

    This fixed my internal mail delivery problem, but then I noticed deliver of external mail wasn't quite working right (it looks like with this DNS setting, postfix looks up A records, not MX records).

    I picked up the tip from this thread about setting the relay_host parameter (through the global settings, MTA tab in the UI).

    I set it to my ISP's SMTP server and both internal and external delivery are now working.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. postfix transport maps
    By pheonix1t in forum Administrators
    Replies: 12
    Last Post: 01-17-2009, 11:42 PM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. LMTP problem (amoung other things)
    By kollross in forum Administrators
    Replies: 3
    Last Post: 02-18-2007, 10:36 PM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Another Local Mail Delivery Issue
    By bhickey in forum Installation
    Replies: 7
    Last Post: 02-23-2006, 10:23 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
  •