LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 05-12-2010, 03:24 PM   #1
technomeister
Member
 
Registered: Oct 2005
Distribution: Slackware loved and lost, Ubuntu current.
Posts: 34

Rep: Reputation: 15
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.
 
Old 05-12-2010, 10:59 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,715

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
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
 
Old 05-14-2010, 11:22 PM   #3
technomeister
Member
 
Registered: Oct 2005
Distribution: Slackware loved and lost, Ubuntu current.
Posts: 34

Original Poster
Rep: Reputation: 15
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?
 
Old 05-14-2010, 11:44 PM   #4
technomeister
Member
 
Registered: Oct 2005
Distribution: Slackware loved and lost, Ubuntu current.
Posts: 34

Original Poster
Rep: Reputation: 15
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.
 
Old 12-28-2012, 02:05 PM   #5
landitcouk
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
Thumbs up 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server issues (Postfix, MySQL, Dovecot) manijeee Linux - Server 0 08-03-2009 02:38 AM
Postfix/Dovecot Mail Server Redundancy haariseshu Linux - Server 2 05-29-2009 05:55 AM
Setup Mail Server with Postfix/Dovecot/SquirrelMail olddocks Linux - Server 2 03-24-2009 01:34 AM
Setting up a mail server with Dovecot and/or Postfix with virtual domains Josh1billion Linux - Server 12 11-27-2008 02:57 AM
LXer: Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail LXer Syndicated Linux News 0 03-12-2008 10:50 PM


All times are GMT -5. The time now is 08:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration