MailScanner failing to deliver

Hugo van der Kooij hvdkooij at vanderkooij.org
Sun May 6 09:05:17 IST 2007


On Sat, 5 May 2007, Jim Coates wrote:

> My host had to upgrade some things on our server and in the process upgraded
> MailScanner to the latest available from the ports tree (FreeBSD).  The
> version is 4.50.15.
>
> Since the upgrade, its been having issues... it seems to receive email (I
> can tail the maillog and see stuff coming in), but it only delivers inbound
> and outbound for a short period of time. I then have to restart MailScanner,
> and it will once again deliver for just a short period of time.
>
> When it restarts (and seemingly before it fails too) there are a group of
> messages that get processed over and over.
>
> Another oddity... when tailing the maillog, I see MailScanner start multiple
> times... IE - it puts up the version info and the number of messages in
> queue etc... then a few seconds later I see the same thing twice more.
>
> Any ideas? I wasn't having these issues at all with the older version of
> MailScanner that I was running.
>
> NEW INFORMATION: when I do a "mailscanner --lint" it tells me the following:
>
> mail2# mailscanner --lint
> Read 701 hostnames from the phishing whitelist
> Config: calling custom init function MailWatchLogging
> Cannot write pid file , No such file or directory at
> /usr/local/sbin/mailscanner line 1238

I suggest you check this out and fix what is required to be fixed.

> Checking for SpamAssassin errors (if you use it)...
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> SpamAssassin reported no errors.
> MailScanner.conf says "Virus Scanners = clamav"
> Found these virus scanners installed: clamavmodule
> mail2#
>
> I also had MailWatch installed, but the host recently upgraded MySQL and it
> has not worked since then.  Not sure what the cause is or if its adding to
> this trouble.  I do get a considerable amount of :
>
> May  5 22:56:57 mail2 MailScanner[98183]: Started SQL Logging child
> May  5 22:56:57 mail2 MailScanner[98106]: Started SQL Logging child
> May  5 22:56:58 mail2 MailScanner[58029]: Started SQL Logging child
> May  5 22:57:00 mail2 MailScanner[96343]: Started SQL Logging child
> May  5 22:57:08 mail2 MailScanner[98200]: Started SQL Logging child
>
> Basically I am having to restart it about every 30 minutes right now, so I'd
> love any help you can give me.

If MailWatch is not working there is nothing to be lost from removing the 
MailWatch line(s) from your config now. See if it is degrading your 
MailScanner  functionality.

Did you go over the changelog to see if things changed from your old 
version to your current one?

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hugo.vanderkooij.org/
 	    This message is using 100% recycled electrons.

 	Some men see computers as they are and say "Windows"
 	I use computers with Linux and say "Why Windows?"
 		(Thanks JFK, for the insight.)


More information about the MailScanner mailing list