Error message starting/restarting MailScanner?

Paul Hutchings paul.hutchings at
Thu Mar 29 14:33:46 CEST 2007

When I start/restart MailScanner I see the following:

relay:/var/spool/MailScanner/incoming # /etc/init.d/MailScanner restart
 and MailScannerstfix
: No such file or directoryne 171: cd: /var/spool/MailScanner/incoming
Initializing outgoing postfix
Initializing MailScanner

If I look at line 171 in the startup script (the standard one the built) it says:

cd $MAILSCANNER_WORKDIR && ls | egrep '^[0123456789]+$' | xargs /bin/rm
-rf 2>/dev/null

That directory exists (the variable is set to
/var/spool/MailScanner/incoming) and MailScanner appears to be working
so I'm not quite sure what the output is trying to tell me?

Paul Hutchings
Network Administrator, MIRA Ltd.
Tel: 44 (0)24 7635 5378, Fax: 44 (0)24 7635 8378
mailto:paul.hutchings at

More information about the MailScanner mailing list