Mailscanner not picking up messages

Rose, Bobby brose at MED.WAYNE.EDU
Tue Feb 25 14:49:01 GMT 2003

Check the dates and times on the files.  If you have some df files in
there that have old date stamps then check to see if they have a
corresponding qf file.  I've never seen that many but I have seen one or
two before.  It takes both for delivery and I don't think Mailscanner
will even look at those other than it's message file count.  It can
either be sendmail that does it but since it's usually a missing qf
file, I think it's probably MS. 

Julian can correct me if I'm wrong but I believe a MS process reads a
batch of df/qf files, does all it's work in it's incoming processid
directory, and when it's down, drops those into the outgoing queue
folder.  Then it goes back to the and deletes the qf file and
then df file.  So I think if you kill -9 Mailscanner during it's cleanup
process, then it doesn't get completed.  If there is a df/qf file from
that killed scan, then it just gets reprocessed.  If it's just a df file
without a qf then it's ignores.  If there happens to be a qf left then I
think it would deliver a blank message since the qf file is mostly the
header and df is the body.  But I don't see any of these blank messages,
so I think it deletes all those first and then deletes the df files.

Is this how it works Julian?

-----Original Message-----
From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK] 
Sent: Tuesday, February 25, 2003 9:29 AM
Subject: Re: Mailscanner not picking up messages

What does
         cd /var/spool/
         ls -al
produce. It will be probably be clear (to me!) from that what is

At 14:18 25/02/2003, you wrote:
>Hi all
>I have a problem here (still)
>I have a couple of messages here in my directory
>I keep on seeing this in my maillog file
>Feb 25 16:12:42 darkstar MailScanner[12529]: New Batch: Found 61 
>messages waiting Feb 25 16:12:42 darkstar MailScanner[12529]: New 
>Batch: Scanning 1 messages, 5835 bytes
>Feb 25 16:12:42 darkstar MailScanner[12529]: Virus and Content
>Feb 25 16:12:42 darkstar MailScanner[12529]: Uninfected: Delivered 1
>It has been going on like this for two or three days now.Why is it not 
>picking them up?
>When I took my previuos installation live it qued 10 000 messages like
>and refused to pick them up or deliver them properly.
>I have switched between distrebutions and perl versions but nothing.
>Anyone else seen this ?
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>Mailscanner thanks transtec Computers for their support.

Julian Field
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list