MailScanner continously respawns without processing

Lindsay Snider lindsay at pa.net
Fri Feb 14 17:27:00 GMT 2003


Hey Paul,

On Friday 14 February 2003 12:06, you wrote:
> Hi all--
>
> I have a new installation of MailScanner 4.12-2, Exim 4.12, Kaspersky
> and SpamAssassin. At this point I am just trying to troubleshoot
> MailScanner itself (from queue to queue) since Exim does accept a new
> message and drop it in the incoming queue.
>
> I installed MailScanner using the tar distribution. I manually installed
> all of the required Perl modules with the recommended versions and
> patches.
>
> My main problem is I've been unable to get any troubleshooting logs out
> of MailScanner itself. I get almost nothing in syslog (syslogd -r -m 0)
> and when run in with Debug I get the same log entries as otherwise:
>
> Feb 14 11:01:12 granite MailScanner[20449]: MailScanner
> Feb 14 11:01:12 granite MailScanner[20449]: MailScanner E-Mail Virus
> Scanner version 4.12-2 starting...
> Feb 14 11:01:22 granite MailScanner[20507]: MailScanner
> Feb 14 11:01:22 granite MailScanner[20507]: MailScanner E-Mail Virus
> Scanner version 4.12-2 starting...
> Feb 14 11:18:40 granite MailScanner[27699]: MailScanner
> Feb 14 11:18:40 granite MailScanner[27699]: MailScanner E-Mail Virus
> Scanner version 4.12-2 starting...
> Feb 14 11:18:50 granite MailScanner[27748]: MailScanner
> Feb 14 11:18:50 granite MailScanner[27748]: MailScanner E-Mail Virus
> Scanner version 4.12-2 starting...
> Feb 14 11:19:00 granite MailScanner[27827]: MailScanner
> Feb 14 11:19:00 granite MailScanner[27827]: MailScanner E-Mail Virus
> Scanner version 4.12-2 starting...
>

This is normal, you should be seeing MailScanner's children loading.  Each one 
is delayed 10 seconds.  Check MailScanner.conf 'Max Children' to see/specify 
how many children MailScanner should create.  

> It appears MailScanner is repeatedly trying to initialize itself but
> never succeeds. This continues until I kill the MailScanner process. I
> never have more than one MailScanner process running (there's usually a
> <defunct> one lurking too).
>
> MailScanner does change to the exim UID/GID and I've made sure
> /opt/MailScanner/var is writable by that UID--the only time I caught an
> error message in syslog was when it wasn't.
>
> I am using Red Hat Linux 7.2.
>
> Is it possible to turn on more verbose logging? I just have so little to
> troubleshoot with.

When mail starts passing through the server, there is quite a bit of logging.  
However, you can turn up the logging by turning debugging on..  To turn on 
debugging, set Debug=yes in MailScanner.conf.

>
> Any suggestions? Thank you!
>
> Paul

Goodluck, hope it helps!
Lindsay




More information about the MailScanner mailing list