Error message starting/restarting MailScanner?
Paul Hutchings
paul.hutchings at mira.co.uk
Thu Mar 29 19:54:43 CEST 2007
Right well I've found out what's been causing it and it's rather weird!
When I rebuilt this box I made a tarball of the /etc/MailScanner folder
and emailed it myself, blitzed the box, then used pscp (the scp client
from the chap who writes Putty) to copy the files back over.
It appears, goodness only knows how, that it's the way pscp copies the
files back to the box.
When I copied the tarball back to the box and untarred it it all worked
just fine. It's as if there are some invisible spaces or line feeds or
something being put into the files when they were copied that way..
sorry I'm not too clear myself what's gone on but at least I know what's
causing it.
cheers,
Paul
--
Paul Hutchings
Network Administrator, MIRA Ltd.
Tel: 44 (0)24 7635 5378, Fax: 44 (0)24 7635 8378
mailto:paul.hutchings at mira.co.uk
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Paul
Hutchings
Sent: 29 March 2007 13:34
To: MailScanner discussion
Subject: Error message starting/restarting MailScanner?
When I start/restart MailScanner I see the following:
relay:/var/spool/MailScanner/incoming # /etc/init.d/MailScanner restart
and MailScannerstfix
done
: No such file or directoryne 171: cd: /var/spool/MailScanner/incoming
Initializing outgoing postfix
done
Initializing MailScanner
If I look at line 171 in the startup script (the standard one the
install.sh 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?
cheers,
Paul
--
Paul Hutchings
Network Administrator, MIRA Ltd.
Tel: 44 (0)24 7635 5378, Fax: 44 (0)24 7635 8378
mailto:paul.hutchings at mira.co.uk
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list