Where Is My Email Going?

4 posts / 0 new
Last post
#1 Wed, 01/05/2011 - 11:57
mrwilder

Where Is My Email Going?

Hi,

I am having the worst mail problem with postfix. All was fine until a few weeks ago when all of a sudden I began receiving mail only occassionally.

This is true of all users on the box, at all domains: we can send mail (from clients or locally), but only sporadically receive mail!!! I don't get it. I'm not positive that all sent mail is actually being sent either... I believe that php's mail() function is only working on a few domains.

Incoming mail seems to be making it to the box... for example, I sent myself an email from aol. Here's the maillog entry:

Jan 5 10:42:43 ns1 postfix/smtpd[13851]: connect from imr-db03.mx.aol.com[205.188.91.97] Jan 5 10:42:43 ns1 postfix/smtpd[13851]: C1008147461: client=imr-db03.mx.aol.com[205.188.91.97] Jan 5 10:42:44 ns1 postfix/cleanup[13760]: C1008147461: message-id=8CD7B170A9700E3-C14-94324@Webmail-d106.sysops.aol.com Jan 5 10:42:44 ns1 postfix/qmgr[2519]: C1008147461: from=someone@aol.com, size=2221, nrcpt=1 (queue active) Jan 5 10:42:46 ns1 postfix/smtpd[13851]: disconnect from imr-db03.mx.aol.com[205.188.91.97] Jan 5 10:42:49 ns1 postfix/local[13762]: C1008147461: to=someone.domain@ns1.domain.com, orig_to=someone@domain.com, relay=local, delay=6.3, delays=0.39/0/0/5.9, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Jan 5 10:42:49 ns1 postfix/qmgr[2519]: C1008147461: removed

BUT

The mail is NOT in my email box.

Where did the mail go?

Wed, 01/05/2011 - 12:33
andreychek

Howdy,

You may want to take a look at /var/log/procmail.log. The above notification is saying your email message was given to procmail, so the procmail log should offer some insight into where that message went.

-Eric

Wed, 01/05/2011 - 12:54
mrwilder

Looks like everything is being marked as spam...

Every single line in the log ends with Dest:/dev/null Mode:Spam

SOOOoooo.... which little app is doing that? SpamAssasin, a mail filter? Where would I look at the settings? It appears to be a server wide problem.

Thanks!

Wed, 01/05/2011 - 12:59
andreychek

Howdy,

You may want to take a look at the email headers of some of those messages, and check out the X-Spam related headers. Those should offer some insight into what the issue is, and why they're being marked as spam.

Also, just to make sure you have the latest SpamAssassin rules, you may want to run the "sa-update" command as root from the command line.

-Eric

Topic locked