Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't recieve email but I can send I think its DNS issue

Status
Not open for further replies.

linkedit

IS-IT--Management
Aug 2, 2009
1
US
I am having a lot of problems with configuring my DNS and Zimbra. To start, everything was working fine; I was able to
configure DNS (BIND) I think. DNS servers are properly routing to my website and my zimbra server. I have reverse DNS working fine;
I can send email to gmail.com and it doesn't go to the Spam folder. Where my problem persists is recieving email from the outside and
internally. I did a couple of tests. This is what I get in the log when I try to send an email
that does not exist to my zimbra server using gmail(externally):

Aug 2 19:31:29 mail1 postfix/smtpd[4611]: connect from mail-yw0-f179.google.com[209.85.211.179]
Aug 2 19:31:29 mail1 postfix/smtpd[4611]: NOQUEUE: reject: RCPT from mail-yw0-f179.google.com[209.85.211.179]: 550 5.1.1 <idontex ist@linkeditsolutions.com>: Recipient address rejected: linkeditsolutions.com; from=<jame.higgs@gmail.com> to=<idontexist@lin keditsolutions.com> proto=ESMTP helo=<mail-yw0-f179.google.com>
Aug 2 19:31:29 mail1 postfix/smtpd[4611]: disconnect from mail-yw0-f179.google.com[209.85.211.179]

I also get this message later on in the log:

Aug 2 19:32:53 mail1 postfix/lmtp[1504]: connect to mail1.linkeditsolutions.com[216.178.84.150]: Connection timed out (port 7025)
Aug 2 19:32:53 mail1 postfix/lmtp[1504]: 5A3E911C2EE: to=<admin@linkeditsolutions.com>, relay=none, delay=4385, delays=4196/0/189 /0, dsn=4.4.1, status=deferred (connect to mail1.linkeditsolutions.com[216.178.84.150]: Connection timed out)


This is what I get when I try to send an email to an address that does exist internally:

Aug 2 19:50:40 mail1 postfix/smtpd[13609]: connect from mail1.linkeditsolutions.com[10.2.246.252]
Aug 2 19:50:40 mail1 postfix/smtpd[13609]: 844B811C314: client=mail1.linkeditsolutions.com[10.2.246.252]
Aug 2 19:50:40 mail1 postfix/cleanup[13613]: 844B811C314: message-id=<310285359.121249257040432.JavaMail.root@lxlitsmailsrv1>
Aug 2 19:50:40 mail1 postfix/qmgr[25644]: 844B811C314: from=<test.email@linkeditsolutions.com>, size=674, nrcpt=1 (queue active)
Aug 2 19:50:40 mail1 amavis[25087]: (25087-06) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20090802T181941-25087: <test.email@linkeditsolutions.com> -> <admin@linkeditsolutions.com> SIZE=674 Received: from mail1.linkeditsolutions.com ([127.0.0.1]) by localhost (mail1.linkeditsolutions.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <admin@linkeditsolutions.com>; Sun, 2 Aug 2009 19:50:40 -0400 (EDT)
Aug 2 19:50:40 mail1 postfix/smtpd[13609]: disconnect from mail1.linkeditsolutions.com[10.2.246.252]
Aug 2 19:50:40 mail1 amavis[25087]: (25087-06) Checking: SKHYBiYsBVg8 [10.2.246.252] <test.email@linkeditsolutions.com> -> <admin@linkeditsolutions.com>
Aug 2 19:50:45 mail1 postfix/smtpd[13618]: connect from localhost.localdomain[127.0.0.1]
Aug 2 19:50:45 mail1 postfix/smtpd[13618]: 3672E11C316: client=localhost.localdomain[127.0.0.1]
Aug 2 19:50:45 mail1 postfix/cleanup[13613]: 3672E11C316: message-id=<310285359.121249257040432.JavaMail.root@lxlitsmailsrv1>
Aug 2 19:50:45 mail1 postfix/qmgr[25644]: 3672E11C316: from=<test.email@linkeditsolutions.com>, size=1430, nrcpt=1 (queue active)
Aug 2 19:50:45 mail1 postfix/smtpd[13618]: disconnect from localhost.localdomain[127.0.0.1]
Aug 2 19:50:45 mail1 amavis[25087]: (25087-06) FWD via SMTP: <test.email@linkeditsolutions.com> -> <admin@linkeditsolutions.com>,BODY=7BIT 250 2.6.0 Ok, id=25087-06, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3672E11C316
Aug 2 19:50:45 mail1 amavis[25087]: (25087-06) Passed CLEAN, LOCAL [10.2.246.252] [10.2.246.252] <test.email@linkeditsolutions.com> -> <admin@linkeditsolutions.com>, Message-ID: <310285359.121249257040432.JavaMail.root@lxlitsmailsrv1>, mail_id: SKHYBiYsBVg8, Hits: 6.024, size: 674, queued_as: 3672E11C316, 4673 ms
Aug 2 19:50:45 mail1 postfix/smtp[13615]: 844B811C314: to=<admin@linkeditsolutions.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.7, delays=0.03/0/0/4.7, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 3672E11C316)
Aug 2 19:50:45 mail1 postfix/qmgr[25644]: 844B811C314: removed




This is what I get in the log when I send an email to my zimbra server to an account that does exist using gmail:

Aug 2 19:41:08 mail1 postfix/smtpd[9546]: connect from mail-yw0-f179.google.com[209.85.211.179]
Aug 2 19:41:08 mail1 postfix/smtpd[9546]: 2DB0311C2FE: client=mail-yw0-f179.google.com[209.85.211.179]
Aug 2 19:41:08 mail1 postfix/cleanup[9550]: 2DB0311C2FE: message-id=<de84268b0908021641t7e39545dnc47508806ec07a0f@mail.gmail.com>
Aug 2 19:41:08 mail1 postfix/qmgr[25644]: 2DB0311C2FE: from=<jame.higgs@gmail.com>, size=2198, nrcpt=1 (queue active)
Aug 2 19:41:08 mail1 amavis[25087]: (25087-05) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20090802T181941-25087: <jame.higgs@gmail.com> -> <test.email@linkeditsolutions.com> SIZE=2198 Received: from mail1.linkeditsolutions.com ([127.0.0.1]) by localhost (mail1.linkeditsolutions.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <test.email@linkeditsolutions.com>; Sun, 2 Aug 2009 19:41:08 -0400 (EDT)
Aug 2 19:41:08 mail1 amavis[25087]: (25087-05) Checking: RHzXrrWR7M+h [209.85.211.179] <jame.higgs@gmail.com> -> <test.email@linkeditsolutions.com>
Aug 2 19:41:12 mail1 postfix/smtpd[9555]: connect from localhost.localdomain[127.0.0.1]
Aug 2 19:41:12 mail1 postfix/smtpd[9555]: 665E911C306: client=localhost.localdomain[127.0.0.1]
Aug 2 19:41:12 mail1 postfix/cleanup[9550]: 665E911C306: message-id=<de84268b0908021641t7e39545dnc47508806ec07a0f@mail.gmail.com>
Aug 2 19:41:12 mail1 postfix/qmgr[25644]: 665E911C306: from=<jame.higgs@gmail.com>, size=2889, nrcpt=1 (queue active)
Aug 2 19:41:12 mail1 amavis[25087]: (25087-05) FWD via SMTP: <jame.higgs@gmail.com> -> <test.email@linkeditsolutions.com>,BODY=7BIT 250 2.6.0 Ok, id=25087-05, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 665E911C306
Aug 2 19:41:12 mail1 amavis[25087]: (25087-05) Passed CLEAN, [209.85.211.179] [209.85.211.179] <jame.higgs@gmail.com> -> <test.email@linkeditsolutions.com>, Message-ID: <de84268b0908021641t7e39545dnc47508806ec07a0f@mail.gmail.com>, mail_id: RHzXrrWR7M+h, Hits: -2.148, size: 2197, queued_as: 665E911C306, 4178 ms
Aug 2 19:41:12 mail1 postfix/smtp[9552]: 2DB0311C2FE: to=<test.email@linkeditsolutions.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.3, delays=0.1/0.01/0/4.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 665E911C306)
Aug 2 19:41:12 mail1 postfix/qmgr[25644]: 2DB0311C2FE: removed
Aug 2 19:41:12 mail1 postfix/smtpd[9555]: disconnect from localhost.localdomain[127.0.0.1]

I don't see any errors. But when I look into the mailbox there is nothing there! Currently all SMTP(25) port and IMAPS(993) port are running fine.
This is what i get from my hosts file (hostname -f) on the zimbra server :

mail1.linkeditsolutions.com

I followed this guide to setup my DNS:

I think i followed it wrong because for mine he was using local IP but I assumed you could use external for the guide. I only
Have one zone set up with external IP's to my website and Zimbra Server. Can anyone help me figure out why I can't recieve
email? Need major help ASAP!

Also note that because of the old server I had to take down the name record that leads to the new email server.
But this is how the ns records look like:

Retrieving DNS records for linkeditsolutions.com...

DNS servers
ns2.vds2000.net
ns.linkeditsolutions.com [216.178.84.150]

Answer records
linkeditsolutions.com 1 A 66.84.18.241 86400s
linkeditsolutions.com 1 SOA
server: ns.linkeditsolutions.com
email: admin@linkeditsolutions.com
serial: 200906131
refresh: 10800
retry: 1800
expire: 120960
minimum ttl: 43200
86400s
linkeditsolutions.com 1 NS ns.linkeditsolutions.com 86400s
linkeditsolutions.com 1 MX
preference: 20
exchange: mail1.linkeditsolutions.com
86400s
linkeditsolutions.com 1 MX
preference: 20
exchange: mail2.linkeditsolutions.com
86400s

Authority records

Additional records
mail1.linkeditsolutions.com 1 A 216.178.84.150 86400s
 
Based on these logs, it looks like there is a setup issue with postfix. It looks like the messages are coming into the queue, being passed to amavis, and then be re-sent to the queue manager as would be expected. The problem seems to occur in that postfix doesn't know how to deliver them.

I will hazzard a guess that you either have a problem with the recipient restrictions (main.cf) or in the LDA (local delivery agent) in master.cf.

What I don't see in the logs is that postfix has DELIVERED any items to a local recipient, just that things are queued up or that the recipient is being rejected.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top