LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Dovecot/Postfix server - some mail not arriving (http://www.linuxquestions.org/questions/linux-general-1/dovecot-postfix-server-some-mail-not-arriving-807452/)

technomeister 05-12-2010 04:24 PM

Dovecot/Postfix server - some mail not arriving
 
I recently set up a Dovecot/Postfix e-mail solution on my Ubuntu server. I can receive most e-mails, but some never show up. For example, I'm subscribed to 4 different mailing list services, and of those, the mail from 2 don't reach me. It's definitely not a problem with the sender, as I can receive from those particular addresses which don't turn up fine with a 3rd party e-mail service.

Where do I even begin troubleshooting this?

I tried using a DNS traversal tool which I think may point to a problem...

Squishwishywoo gives me :

Quote:

Results

25.0% of queries will be returned by 98.129.6.137 (ns1.name.com)


l0x.in. 300 IN MX 10 95.154.246.106.

25.0% of queries will be returned by 38.97.225.248 (ns2.name.com)


l0x.in. 300 IN MX 10 95.154.246.106.

25.0% of queries will be returned by 174.36.196.243 (ns3.name.com)


l0x.in. 300 IN MX 10 95.154.246.106.

12.5% of queries will be returned by 174.129.236.114 (ns4.name.com)


l0x.in. 300 IN MX 10 95.154.246.106.

12.5% of queries will be returned by 174.129.224.210 (ns4.name.com)


l0x.in. 300 IN MX 10 95.154.246.106.
I'm not entirely sure why this would be the case, or indeed how I'd go about fixing it though.

kbp 05-12-2010 11:59 PM

Try grep'ing through /var/log/maillog for connections from the sender or the senders domain. If you find an interesting message you can then grep on the message id to see the whole transaction. If your mail logs are being rotated, you'll need to decompress the rotated ones into /tmp before you can check them

cheers

technomeister 05-15-2010 12:22 AM

I had a look at the Dovecot logs and there are no connections from the senders of the missing mail. No trace at all. Which would suggest to me that it's a DNS problem... But how do I fix that?

technomeister 05-15-2010 12:44 AM

Aha. I used some more DNS checking tools and one of them threw up a problem with the MX record for my domain.

I was using the server's IP address instead of host name in the response field. Changing that has got the missing mails coming through fine now.

landitcouk 12-28-2012 03:05 PM

Worked for me too
 
I was also having issues when using Post fix and Centos 6.3, DNS to a name rather than IP fixed my issue too


All times are GMT -5. The time now is 09:42 PM.