[SOLVED] Re: MailScanner not scanning...

No Name mike at PELLEYS.COM
Fri Sep 3 19:17:11 IST 2004


>> On Fri, 3 Sep 2004 14:12:43 -0230, Mike Pelley <mike at pelleys.com> wrote:
>>>
>>> Anyone have any ideas what is happening?
>>>
>> What happens in the maillog when mail does go through? Are you sure
>> that the Postfix instance that's listening on port 25 is the one that
>> is started by MailScanner, not the Postfix that's installed from the
>> RPM?
>
> Here's the part of /var/log/maillog where I've restarted MailScanner:
>
> Sep  3 15:25:28 zeus MailScanner[9744]: MailScanner child caught a SIGHUP
> Sep  3 15:25:28 zeus postfix/postfix-script: stopping the Postfix mail
> system
> Sep  3 15:25:28 zeus postfix/master[9718]: terminating on signal 15
> Sep  3 15:25:39 zeus postfix/postfix-script: starting the Postfix mail
> system
> Sep  3 15:25:39 zeus postfix/master[10184]: daemon started -- version
> 2.0.18
> Sep  3 15:25:42 zeus MailScanner[10204]: MailScanner E-Mail Virus Scanner
> version 4.33.3 starting...
> Sep  3 15:25:42 zeus MailScanner[10204]: Using locktype = flock
>
>
> And here are the lines where I sent a message to Hotmail:
>
>
> Sep  3 15:28:21 zeus postfix/smtpd[10213]: connect from
> helios.pelleys.com[192.168.0.8]
> Sep  3 15:28:21 zeus postfix/smtpd[10213]: B5350700EB:
> client=helios.pelleys.com[192.168.0.8]
> Sep  3 15:28:21 zeus postfix/cleanup[10215]: B5350700EB:
> message-id=<4138B094.1090108 at pelleys.com>
> Sep  3 15:28:21 zeus postfix/nqmgr[10190]: B5350700EB:
> from=<mike at pelleys.com>, size=901, nrcpt=1 (queue active)
> Sep  3 15:28:21 zeus postfix/smtpd[10213]: disconnect from
> helios.pelleys.com[192.168.0.8]
> Sep  3 15:28:53 zeus postfix/smtp[10217]: connect to
> mx1.hotmail.com[64.4.50.50]: Connection timed out (port 25)
> Sep  3 15:28:54 zeus postfix/smtp[10217]: B5350700EB:
> to=<m_pelley at hotmail.com>, relay=mx4.hotmail.com[65.54.253.230], delay=33,
> status=sent (250  <4138B094.1090108 at pelleys.com> Queued mail for delivery)
>
> It doesn't look like the messages are going through MailScanner at all.
> I've shutdown postfix via chkconfig and when I run "service MailScanner
> start" MailScanner starts the inbound and outbound postfix sessions and
> then itself, e.g.:
> Starting MailScanner daemons:
>          incoming postfix:                                 [  OK  ]
>          outgoing postfix:                                 [  OK  ]
>          MailScanner:                                      [  OK  ]
>
>
> Maybe something is missing in Postfix's master.cf or main.cf?
>
> Mike

Found the problem!!!  Stupidity on my part. The line
header_checks = regexp:/etc/postfix/header_checks
was commented out in main.cf!  Arrrgggg!

Thanks to all who replied and made suggestions!

Cheers,
Mike

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list