CentOS 6 MailScanner & Postfix issues

bradley at stygianresearch.com bradley at stygianresearch.com
Sun Oct 2 14:51:31 IST 2011


Good morning.

I'm setting up mailscanner/postfix on a centos 6 server that I'm building to replace a CentOS 5.7
server.

For Email that send to the server externally (different host) is lost.  Postfix receives it,
mailscanner scans it, and then nothing.  Here are the messages in syslog:

Oct  2 09:45:55 testimage postfix/smtpd[6740]: connect from
aquilonia.stygianresearch.com[10.69.69.161]
Oct  2 09:45:55 testimage postfix/smtpd[6740]: CDD9412C7:
client=aquilonia.stygianresearch.com[10.69.69.161]
Oct  2 09:45:55 testimage postfix/cleanup[6744]: CDD9412C7: hold: header Received: from
aquilonia.stygianresearch.com (aquilonia.stygianresearch.com [10.69.69.161])??by
testimage.stygianresearch.com (Postfix) with ESMTP id CDD9412C7??for
<bradley at testimage.stygianresearch. from aquilonia.stygianresearch.com[10.69.69.161];
from=<bradley at stygianresearch.com> to=<bradley at testimage.stygianresearch.com> proto=ESMTP
helo=<aquilonia.stygianresearch.com>
Oct  2 09:45:55 testimage postfix/cleanup[6744]: CDD9412C7:
message-id=<20111002134554.7FF7627806C at aquilonia.stygianresearch.com>
Oct  2 09:45:56 testimage postfix/smtpd[6740]: disconnect from
aquilonia.stygianresearch.com[10.69.69.161]
Oct  2 09:46:37 testimage MailScanner[6624]: New Batch: Scanning 1 messages, 1394 bytes
Oct  2 09:46:37 testimage MailScanner[6624]: Virus and Content Scanning: Starting
Oct  2 09:46:37 testimage MailScanner[6624]: Virus Scanning completed at 6542 bytes per second
Oct  2 09:46:37 testimage MailScanner[6624]: Spam Checks: Starting
Oct  2 09:46:37 testimage MailScanner[6624]: Message CDD9412C7.AA468 from 10.69.69.161
(bradley at stygianresearch.com) is whitelisted
Oct  2 09:46:48 testimage MailScanner[6624]: Spam Checks completed at 136 bytes per second
Oct  2 09:46:48 testimage MailScanner[6624]: Uninfected: Delivered 1 messages
Oct  2 09:46:48 testimage MailScanner[6624]: Virus Processing completed at 357431 bytes per second
Oct  2 09:46:48 testimage MailScanner[6624]: Deleted 1 messages from processing-database
Oct  2 09:46:48 testimage MailScanner[6624]: Batch completed at 125 bytes per second (1394 / 11)
Oct  2 09:46:48 testimage MailScanner[6624]: Batch (1 message) processed in 11.07 seconds

Thats it.  Postfix doesn't get to ever see the scanned email and its lost.

Now, if I send Email to the server internally (same host) mail gets delivered.  Postfix recives
it, mailscanner scans it, and then postfix delivers it:

Oct  2 09:43:10 testimage postfix/pickup[6603]: 9613E12C8: uid=2000 from=<bradley>
Oct  2 09:43:10 testimage postfix/cleanup[6718]: 9613E12C8: hold: header Received: by
testimage.stygianresearch.com (Postfix, from userid 2000)??id 9613E12C8; Sun,  2 Oct 2011 09:43:10
-0400 (EDT) from local; from=<bradley at testimage.stygianresearch.com>
to=<bradley at testimage.stygianresearch.com>
Oct  2 09:43:10 testimage postfix/cleanup[6718]: 9613E12C8:
message-id=<20111002134310.9613E12C8 at testimage.stygianresearch.com>
Oct  2 09:43:32 testimage MailScanner[6619]: New Batch: Scanning 1 messages, 753 bytes
Oct  2 09:43:32 testimage MailScanner[6619]: Virus and Content Scanning: Starting
Oct  2 09:43:33 testimage MailScanner[6619]: Virus Scanning completed at 1984 bytes per second
Oct  2 09:43:33 testimage MailScanner[6619]: Spam Checks: Starting
Oct  2 09:43:42 testimage MailScanner[6619]: Spam Checks completed at 76 bytes per second
Oct  2 09:43:42 testimage MailScanner[6619]: Requeue: 9613E12C8.A7360 to 6E1CC12CB
Oct  2 09:43:42 testimage MailScanner[6619]: Uninfected: Delivered 1 messages
Oct  2 09:43:42 testimage postfix/qmgr[6604]: 6E1CC12CB:
from=<bradley at testimage.stygianresearch.com>, size=481, nrcpt=1 (queue active)
Oct  2 09:43:42 testimage MailScanner[6619]: Virus Processing completed at 84816 bytes per second
Oct  2 09:43:42 testimage MailScanner[6619]: Deleted 1 messages from processing-database
Oct  2 09:43:42 testimage MailScanner[6619]: Batch completed at 72 bytes per second (753 / 10)
Oct  2 09:43:42 testimage MailScanner[6619]: Batch (1 message) processed in 10.33 seconds
Oct  2 09:43:43 testimage postfix/local[6728]: 6E1CC12CB: to=<bradley at stygianresearch.com>,
orig_to=<bradley at testimage.stygianresearch.com>, relay=local, delay=33, delays=32/0.21/0/0.05,
dsn=2.0.0, status=sent (delivered to maildir)
Oct  2 09:43:43 testimage postfix/qmgr[6604]: 6E1CC12CB: removed

I'm currently running selinux in permission mode to make sure selinux isn't causing any issues. 
If MailScanner is stopped and just postfix is running, mail from both an external and localhost
are delivered fine.

Its just that when MailScanner is running, mail from an external server just disappears.

Does anybody have any suggestions or point me in a direction to go to?  I've been using
MailScanner for years on a centos57 box without any issues like this.  I even switched from
sendmail to postfix on centos 5.x without an issue like this.

Thanks in advance for help.

Brad
--
Bradley Leonard
EMail:  bradley at stygianresearch.com

Rob   - "The hills are alive with the..the..sound of monkeys?"
Bucky - "It's in the key of delicious."

Life is simple. Humans make it complicated.




More information about the MailScanner mailing list