Error message starting/restarting MailScanner?

Paul Hutchings paul.hutchings at
Thu Mar 29 17:43:35 CEST 2007

OK it seems to be linked to running "/etc/init.d/MailScanner stop"
rather than start.

If I look at line 171 and simply run it manually - 

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

That command runs without any problem.

I'm not convinced it's a problem so far as having a bad effect, I'm
simply not sure why on earth it might be doing it?

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

-----Original Message-----
From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Drew
Sent: 29 March 2007 16:30
To: MailScanner discussion
Subject: Re: Error message starting/restarting MailScanner?

On 29 Mar 2007, at 14:30, Paul Hutchings wrote:

> I'm not sure entirely what you mean, but from a quick google
> /var/spoolpostfix/incoming is empty.

No, that's me try to be helpful and miss reading your original mail :-(

I misread that to be /var/spool/postfix/incoming not MailScanner/ 

> I'm running Postfix 2.3.3 on OpenSuse (the default rpm).
> MailScanner does seem to be working and processing mail (this is  
> just a
> test box).
> ls -lh /var/spool/MailScanner/incoming
> drwx------ 2 postfix postfix 4.0K Mar 29 14:08 11431
> drwx------ 2 postfix postfix 4.0K Mar 29 14:08 11475
> drwx------ 2 postfix postfix 4.0K Mar 29 14:09 11513
> drwx------ 2 postfix postfix 4.0K Mar 29 14:08 11547
> drwx------ 2 postfix postfix 4.0K Mar 29 14:24 11581
> -rw------- 1 postfix postfix 7.0K Mar 29 14:09 SpamAssassin.cache.db

Looks fine. Does this happen every time you (re)start MailScanner?  
Does MailScanner make any other comment in the log file? Does it do  
it if you restart in debug mode?


In line with our policy, this message has been scanned 
for viruses and dangerous content by the Technology Tiger MailScanner.
Further information can be found at

Technology Tiger Limited is registered in Scotland with registration
number: 310997
Registered Office 55-57 West High Street Inverurie AB51 3QQ

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list