You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jason Humphrey <Ja...@businessws.com> on 2005/08/22 14:07:41 UTC

MailScanner/spamassassin problem

Hi,
I've put mailscanner and spamassassin on a raq350 today and run into a
little problem

Mailscanner can deliver mail fine on its own with spamassassin disabled but
when I enable spamassassin no mail is processed the output from
"/etc/rc.d/init.d/sendmail restart; tail -f /var/log/maillog" is:
Aug 21 17:17:30 muck MailScanner[29291]: MailScanner E-Mail Virus Scanner
version 4.23-7 starting...
Aug 21 17:17:33 muck MailScanner[29291]: Enabling SpamAssassin
auto-whitelist functionality...
Aug 21 17:17:40 muck MailScanner[29307]: MailScanner E-Mail Virus Scanner
version 4.23-7 starting...
Aug 21 17:17:43 muck MailScanner[29307]: Enabling SpamAssassin
auto-whitelist functionality...
Aug 21 17:17:46 muck MailScanner[29307]: Using locktype = flock
Aug 21 17:17:46 muck MailScanner[29307]: New Batch: Scanning 1 messages, 933
bytes
Aug 21 17:17:46 muck MailScanner[29307]: TCP Checks: Starting
Aug 21 17:17:50 muck MailScanner[29309]: MailScanner E-Mail Virus Scanner
version 4.23-7 starting...
Aug 21 17:17:53 muck MailScanner[29309]: Enabling SpamAssassin
auto-whitelist functionality...
Aug 21 17:17:56 muck MailScanner[29291]: Using locktype = flock
Aug 21 17:17:56 muck MailScanner[29291]: New Batch: Scanning 1 messages, 933
bytes
Aug 21 17:17:56 muck MailScanner[29291]: TCP Checks: Starting
Aug 21 17:17:57 muck MailScanner[29309]: Using locktype = flock
Aug 21 17:17:57 muck MailScanner[29309]: New Batch: Scanning 1 messages, 933
bytes
Aug 21 17:17:57 muck MailScanner[29309]: TCP Checks: Starting


This showing that mailscanner just seems to stop after a few seconds.I have
tested spamassassin with non-spam.txt and spam.txt and it works fine.
Anybody know where I need to look next to find
where its going wrong?

Thanks
Jason


Re: MailScanner/spamassassin problem

Posted by Martin Hepworth <ma...@solid-state-logic.com>.
Jason Humphrey wrote:
> Hi,
> I've put mailscanner and spamassassin on a raq350 today and run into a
> little problem
> 
> Mailscanner can deliver mail fine on its own with spamassassin disabled but
> when I enable spamassassin no mail is processed the output from
> "/etc/rc.d/init.d/sendmail restart; tail -f /var/log/maillog" is:
> Aug 21 17:17:30 muck MailScanner[29291]: MailScanner E-Mail Virus Scanner
> version 4.23-7 starting...
> Aug 21 17:17:33 muck MailScanner[29291]: Enabling SpamAssassin
> auto-whitelist functionality...
> Aug 21 17:17:40 muck MailScanner[29307]: MailScanner E-Mail Virus Scanner
> version 4.23-7 starting...
> Aug 21 17:17:43 muck MailScanner[29307]: Enabling SpamAssassin
> auto-whitelist functionality...
> Aug 21 17:17:46 muck MailScanner[29307]: Using locktype = flock
> Aug 21 17:17:46 muck MailScanner[29307]: New Batch: Scanning 1 messages, 933
> bytes
> Aug 21 17:17:46 muck MailScanner[29307]: TCP Checks: Starting
> Aug 21 17:17:50 muck MailScanner[29309]: MailScanner E-Mail Virus Scanner
> version 4.23-7 starting...
> Aug 21 17:17:53 muck MailScanner[29309]: Enabling SpamAssassin
> auto-whitelist functionality...
> Aug 21 17:17:56 muck MailScanner[29291]: Using locktype = flock
> Aug 21 17:17:56 muck MailScanner[29291]: New Batch: Scanning 1 messages, 933
> bytes
> Aug 21 17:17:56 muck MailScanner[29291]: TCP Checks: Starting
> Aug 21 17:17:57 muck MailScanner[29309]: Using locktype = flock
> Aug 21 17:17:57 muck MailScanner[29309]: New Batch: Scanning 1 messages, 933
> bytes
> Aug 21 17:17:57 muck MailScanner[29309]: TCP Checks: Starting
> 
> 
> This showing that mailscanner just seems to stop after a few seconds.I have
> tested spamassassin with non-spam.txt and spam.txt and it works fine.
> Anybody know where I need to look next to find
> where its going wrong?
> 
> Thanks
> Jason
> 
John

more of mailScanner question so better to ask on the MS list...but have 
you followed this??

http://www.qitc.net/support/mailscanner/


--
Martin Hepworth
Senior Systems Administrator
Solid State Logic Ltd
tel: +44 (0)1865 842300

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************


Re: MailScanner/spamassassin problem

Posted by Matt Kettler <mk...@comcast.net>.
At 08:07 AM 8/22/2005, Jason Humphrey wrote:

>This showing that mailscanner just seems to stop after a few seconds.I have
>tested spamassassin with non-spam.txt and spam.txt and it works fine.
>Anybody know where I need to look next to find
>where its going wrong?


That log looks somewhat normal to me and isn't alarming. Mailscanner will 
"start" multiple times as it spawns up it's children. I only see 4 starts 
there, and most people have the max children set to 5.

Does it persist in doing that indefinitely? or does it just fire up a batch 
of new threads as load demands it then stabilize until MS restarts itself 
(typically 4 hours between restarts).

It it is restarting indefinitely, have you tried checking SA by running 
spamassassin --lint? (lint should run quietly. If it prints anything, 
you've got some kind of configfile or install problem)