Results 1 to 4 of 4

Thread: Mail not being received... logs and details included.

  1. #1
    cjhall is offline Intermediate Member
    Join Date
    Mar 2006
    Posts
    16
    Rep Power
    9

    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]

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    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.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    cjhall is offline Intermediate Member
    Join Date
    Mar 2006
    Posts
    16
    Rep Power
    9

    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

  4. #4
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •