MailScanner keeps restarting, mails are kept on hold

Julian Field MailScanner at
Wed Aug 20 15:22:12 IST 2008

forum wrote:
> Hi,
> I am using MailScanner on a Ubuntu Dapper server (running, productive 
> system, therefore older) and everything was working fine before I did 
> an apt-get upgrade. Now MailScanner keeps restarting with these log 
> entries:
> timestamp servername MailScanner[##]: Using locktype = flock
> timestamp servername MailScanner[##]: MailScanner E-Mail Virus Scanner 
> version 4.46.2 starting...
> timestamp servername MailScanner[##]: Read 676 hostnames from the 
> phishing whitelist
> Apparently this could result from an unusable bayes database for 
> SpamAssassin but I have rebuilt that and cleared (just to be sure) it. 
> I have re-installed MailScanner and also tried to install a newer 
> version, which failed dismally, as a lot of dependencies are not met 
> with the standard Dapper packages (and I couldn't backport them).
> How can I resolve this issue without too much trouble/time?
By running
MailScanner --lint
MailScanner --debug
That "--debug" switch will make it run in the foreground, pick up one 
batch of messages, process them and then quit. You will probably find it 
spits out some error message or similar, which should point you in the 
right direction.


Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list