Just installed MailScanner

Craig Kelley ink at INCONNU.ISU.EDU
Fri Jul 5 16:56:36 IST 2002


At 20:47 03/07/2002, you wrote:

>> I've been running Mailscanner for some weeks now, and I got a report
>> today that none of the email was being delivered. I noted that the mailscanner
>> program wasn't running, so I started it back up. It uses up a bit of CPU
>> time and spins around for a while (ending up with 200 items in the
>> incomming/ directory) and then dies. If I run it in debug mode it does
>> this:
>>
>> # ./mailscanner /var/spool/mailscanner/etc/mailscanner.conf
>> In Debugging mode, not forking...
>> #
>>
>> No message, nothing. Any ideas?
>
> Try changing the "Multiple Headers" option. On a few systems "append" can
> make it core dump due to bugs in Perl itself. When you run it in debug
> mode, has it actually reduced the number of messages in
> /var/spool/mqueue.in?

It hadn't, but I changed the Delivery Method to 'individual' and then it
delivered some messages (there were 1100 in the queue) and started
behaving itself.  I then switched off debug mode and it's been running for
an hour now without a problem.

> Anything in the maillog?

Nothing special.

> There is a possibility that 1 message is killing it (this is very
> unlikely but has been known). Set the number of messages per batch to,
> say, 10 and re-run it. This should help you narrow down exactly what
> message is causing the trouble, if this is the problem at all.

That could have been the reason.

What's the reccomended value for "Multiple Headers"?

>> PS- Where can I download the source for the mailscanner program?
>
> Errr... it's written in Perl. You've already got it :-)

/me smacks head.  I hadn't thought of viewing the actual mailscanner
program.

 --
Craig Kelley  -- kellcrai at isu.edu  -- This document is rot26-encoded, and
protected from being read by the DMCA and all other WIPO treaty nations.
http://www.isu.edu/~kellcrai finger ink at inconnu.isu.edu for PGP block



More information about the MailScanner mailing list