postfix does not always queue msg to Exchange
I have some strange problem, and I can’t figure it out. I’m using Postfix on FreeBSD 7.0 as a mailgateway for about 1 ½ year. The last couple of days, people are complaining that they are missing e-mails that where sent to them.
I turned on logging on Exchange 2003, and started to look into the log files from FreeBSD and Exchange. Mail from sender X outside our organization arrives just normally to somebody inside our organization. But just sometimes, a mail is not being queued to our Exchange server and does not arrive. I have no idea what is going on, several of my colleagues are complaining about it. If I review one mail address, than I can see that mail is being send from the same sender, to the same recipient. But on day one, the mail does arrive, on day 2 it does not arrive and day 3 it does arrive again. If the mail does not arrive, I can not track it in Exchange Tracking center, I can not find it (anymore) in the Postfix queue but the sender does not get a message the mail could not be deliverd.
Here are some of the logs:
Mail does arrive:
pr 19 12:31:20 postfix/lmtp: 8743D4AE08: to=<insideemailaddress>, relay=127.0.0.1[127.0.0.1]:10024, delay=77, delays=0.14/0/0.01/77, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=52476-12, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4F8354ADEE)
Apr 19 12:31:20 postfix/qmgr: 4F8354ADEE: removed
Mail does not arrive:
Apr 20 11:12:41 postfix/lmtp: D678F4AE35: to==<insideemailaddress>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=2, delay=431, delays=4.1/269/0/158, dsn=2.1.0, status=sent (250 2.1.0 Ok, id=66720-05-2, from MTA([127.0.0.1]:10025): 250 2.1.0 Ok)
Apr 20 11:12:41 postfix/qmgr: D678F4AE35: removed
In the first entry, the mail is being queued and delivered to Exchange. In the second entry, the mail does not arrive, and is not being queued to Exchange. If I search postfix logs on “250 2.1.0 Ok” all messages showed aren’t being queued to Exchange. Does anybody have any idea what is going on? Google didn’t know.