MailScanner restarting every 10 seconds?
Andre van der Veen
andre at FIREBOX.CO.ZA
Tue Jun 8 12:05:50 IST 2004
I'm running sendmail 8.12.6 on a SuSE 8.1 Pro server using the sendmail MTA
for mail delivery. Before installing MailScanner, mail was delivering fine.
I followed the FAQ, MAQ & documentation instructions on how to install
MailScanner (using MailScanner-4.30.3-2.suse.tar.gz file), SpamAssassin
2.63
(not using RPM's but binaries as suggested) & ClamAV 0.70.
After installation, everything seems to be fine, but all mails get stuck in
/var/spool/mqueue.in
I can clear the queue using 'sendmail -oQ/var/spool/mqueue.in -q' but it
seems as if MailScanner either doesn't touch the mails or sendmail has some
issue with picking it up from here, not sure.
Extract from my sendmail file in /etc/init.d, which I edited according to
the documentation:
>>if test -z "$SENDMAIL_ARGS" ; then
>>(1st line) SENDMAIL_ARGS="-L sendmail -bd -0PrivacyOptions=noetrn -
ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mqueue.in" (this is all
on one line)
>>(2nd line) SENDMAIL_ARGS="-L sendmail -q15m"
I'm pretty new to linux/sendmail, so I'm not 100% sure if I edited the
correct file here? I know I'm not supposed to post sendmail related queries
here, but I'm really lost & did read up as much as I can...
Spam checking & virus checking is enabled, altho I've tried using it with
the RBL's disabled (thinking it might be DNS related, as per a post in the
mailing list) but that also doesn't help.
If I revert everything back to the way it was before MailScanner install,
mail flows fine again...any ideas or suggestions will be greatly
appreciated, and apologies if I did miss the same type of post in the
lists,
but I've spent the last 4 days searching the archives for my issue and a
resolution...alot of posts discuss mail stuck in /var/spool/mqueue.in, but
non of them seems to point me in the right direction, as I've tried many of
the suggestions in the archives.
I also checked my /var/logs/mail file and this is what shows up every 10
seconds:
Jun 8 12:02:44 omega MailScanner[20166]: MailScanner E-Mail Virus Scanner
version 4.30.3 starting...
Jun 8 12:02:54 omega MailScanner[20167]: MailScanner E-Mail Virus Scanner
version 4.30.3 starting...
Jun 8 12:03:04 omega MailScanner[20168]: MailScanner E-Mail Virus Scanner
version 4.30.3 starting...
Jun 8 12:03:14 omega MailScanner[20169]: MailScanner E-Mail Virus Scanner
version 4.30.3 starting... etc etc etc
Any ideas why it's doing this? It seems it's trying to start/restart
MailScanner every 10 seconds, altho when I do a 'ps -ax | grep -i mail' it
shows up with the following:
21089 ? S 0:00 sendmail: accepting
connections
21092 ? S 0:00 sendmail: Queue runner at 00:30:00
for /var/spool/clientmqueue
21096 ? S 0:00 sendmail: Queue runner at 00:30:00
for /var/spool/mqueue
21115 ? S 0:00 /usr/bin/perl -
I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.con
f
21116 ? Z 0:05 [MailScanner <defunct>]
21117 ? Z 0:05 [MailScanner <defunct>]
21118 ? Z 0:05 [MailScanner <defunct>]
21119 ? Z 0:05 [MailScanner <defunct>]
21277 ? Z 0:05 [MailScanner <defunct>]
21283 ? S 0:00 sh -c (ps -ax | grep -i mail) 2>&1
21284 ? S 0:00 sh -c (ps -ax | grep -i mail) 2>&1
21286 ? S 0:00 grep -i mail
When I run 'check_MailScanner', it also shows as running, with a specific
PID
Apologies if this post was very long, but I'd rather give all the info I've
got than to mail back and forth.
Kind regards,
André van der Veen
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
More information about the MailScanner
mailing list