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 Display Modes
  #1 (permalink)  
Old 03-25-2006, 07:34 AM
Intermediate Member
 
Posts: 16
Default Mail not being received... logs and details included.

All:

I have zimbra installed on Redhat Fedora Core 4. Mail is being sent fine. Mail is not being received!

Let me give you the network topology first.

Linux Redhat FC4 firewall server at static IP 71.xxx.xxxx.xxx. Behind it is my mail/zimbra server. I use iptables to route port 25 to my mail server.

The zimbra box, mail.mydomain.info, has internal ip 192.168.0.10. There is a MX record for mail.mydomain.com pointing to the 71.xxx.xxxx.xxx ip.

/etc/hosts on mail is:

127.0.0.1 localhost.localdomain localhost
192.168.0.10 mail.mydomain.info mail

hostname on the mail/zimbra server is 'mail.mydomain.info'

So I sent a test email to an account that I have created, say me@mydomain.info.

The log below gets the mail but tries to resend it to mail.mydomain.info using the 71.xxx.xxxx.xxx ip????

I'm confused as to why mail isn't being delivered. I think I have provided all the relevant logs.

Please tell me what I have misconfigured or what I'm missing. THANKS for a tremendous product!!!

----- from zimbra.log ----
Mar 25 09:24:09 localhost postfix/smtpd[10218]: connect from pproxy.gmail.com[64.233.166.182]
Mar 25 09:24:10 localhost postfix/smtpd[10218]: 271229F06DF: client=pproxy.gmail.com[64.233.166.182]
Mar 25 09:24:10 localhost postfix/cleanup[10223]: 271229F06DF: message-id=
Mar 25 09:24:10 localhost postfix/qmgr[9519]: 271229F06DF: from=, size=1999, nrcpt=1 (queue active)
Mar 25 09:24:10 localhost amavis[9244]: (09244-01) ESMTP::10024 /opt/zimbra/amavisd/tmp/amavis-20060325T092410-09244: -> Received: SIZE=1999 from mail.mydomain.info ([127.0.0.1]) by localhost (mail.mydomain.info [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09244-01 for ; Sat, 25 Mar 2006 09:24:10 -0500 (EST)
Mar 25 09:24:10 localhost amavis[9244]: (09244-01) Checking: chjFhWYYlBTE [64.233.166.182] ->
Mar 25 09:24:15 localhost postfix/smtpd[10227]: initializing the server-side TLS engine
Mar 25 09:24:15 localhost postfix/smtpd[10227]: connect from localhost.localdomain[127.0.0.1]
Mar 25 09:24:15 localhost postfix/smtpd[10227]: CA8139F06E2: client=localhost.localdomain[127.0.0.1]
Mar 25 09:24:15 localhost postfix/cleanup[10223]: CA8139F06E2: message-id=
Mar 25 09:24:15 localhost postfix/qmgr[9519]: CA8139F06E2: from=, size=2671, nrcpt=1 (queue active)
Mar 25 09:24:15 localhost postfix/smtpd[10227]: disconnect from localhost.localdomain[127.0.0.1]
Mar 25 09:24:15 localhost amavis[9244]: (09244-01) FWD via SMTP: -> , 250 2.6.0 Ok, id=09244-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as CA8139F06E2
Mar 25 09:24:15 localhost amavis[9244]: (09244-01) Passed CLEAN, [64.233.166.182] [64.233.166.182] -> , Message-ID: , mail_id: chjFhWYYlBTE, Hits: 2.693, 5410 ms
Mar 25 09:24:15 localhost postfix/smtp[10224]: 271229F06DF: to=, relay=127.0.0.1[127.0.0.1], delay=6, status=sent (250 2.6.0 Ok, id=09244-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as CA8139F06E2)
Mar 25 09:24:15 localhost amavis[9244]: (09244-01) extra modules loaded: Net/LDAP/Bind.pm
Mar 25 09:24:15 localhost postfix/qmgr[9519]: 271229F06DF: removed
Mar 25 09:24:16 localhost postfix/lmtp[10228]: CA8139F06E2: to=, relay=none, delay=1, status=deferred (connect to mail.mydomain.info[71.xxx.xxxx.xxx]: Connection refused)
Mar 25 09:24:40 localhost postfix/smtpd[10218]: disconnect from pproxy.gmail.com[64.233.166.182]
Reply With Quote
  #2 (permalink)  
Old 03-25-2006, 09:00 AM
Zimbra Employee
 
Posts: 4,784
Default

Code:
Mar 25 09:24:16 localhost postfix/lmtp[10228]: CA8139F06E2: to=, relay=none, delay=1, status=deferred (connect to mail.mydomain.info[71.xxx.xxxx.xxx]: Connection refused)
Notice this says LMTP which means it's postfix trying to deliver the mail to zimbra via lmtp on port 7025. postfix will always use DNS. So your DNS looks to be resolving mail.mydomain.info -> 71.xxx.xxxx.xxx.

Two ways to fix this. Set up split DNS so the internal DNS request from postfix gets the 192.x.x.x address.

or if you want a less secure hack open 7025 on your firewall to allow postfix to come in via the 71.x.x.x address and deliver. If you set the rule to only allow the localhost it'll be more secure and will keep your 7015 port hidden from the internet.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 03-25-2006, 09:09 AM
Intermediate Member
 
Posts: 16
Default

Kevin

Thanks for the reply.

I'm sorry, I don't know how to do this...
"Set up split DNS so the internal DNS request from postfix gets the 192.x.x.x address."

Would you please advise?

THANKS so much!

jh
Reply With Quote
  #4 (permalink)  
Old 03-25-2006, 09:54 AM
Zimbra Employee
 
Posts: 4,784
Default

http://www.google.com/search?q=split+dns
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote

Why Join?

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

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0