Inaccurate Queue Amount?
Mike Kercher
mike at CAMAROSS.NET
Sat Oct 16 13:10:29 IST 2004
Julian Field wrote:
> At 04:51 16/10/2004, you wrote:
>> I started noticing in the past few days that the number of messages
>> in
>> the incoming queue is not correct for some reason. My logs show
>> this:
>>
>> Oct 15 22:43:08 avwall2 MailScanner[2760]: New Batch: Found 14
>> messages waiting Oct 15 22:43:08 avwall2 MailScanner[2760]: New
>> Batch: Scanning 1 messages, 1252 bytes
>> Oct 15 22:43:08 avwall2 MailScanner[2760]: Spam Checks: Starting Oct
>> 15 22:43:08 avwall2 MailScanner[2760]: Virus and Content Scanning:
>> Starting
>> Oct 15 22:43:08 avwall2 MailScanner[2760]: Uninfected: Delivered 1
>> messages
>>
>> But there aren't 14 messages in the queue:
>>
>> [root at avwall2 /etc/MailScanner] #ls -al
>> /var/spool/MailScanner/incoming/ total 4
>> drwxrwxrwt 12 root root 240 Oct 15 22:44 .
>> drwxr-xr-x 4 root root 4096 May 20 19:37 ..
>> drwx------ 2 root root 40 Oct 15 22:42 2754
>> drwx------ 2 root root 40 Oct 15 22:43 2760
>> drwx------ 2 root root 40 Oct 15 22:43 2769
>> drwx------ 2 root root 40 Oct 15 22:43 2775
>> drwx------ 2 root root 40 Oct 15 22:43 2785
>> drwx------ 2 root root 40 Oct 15 22:43 2792
>> drwx------ 2 root root 40 Oct 15 22:44 2799
>> drwx------ 2 root root 40 Oct 15 22:44 2821
>> drwx------ 2 root root 40 Oct 15 22:44 2826
>> drwx------ 2 root root 40 Oct 15 22:44 2829
>
> That's not the queue. That's the list of working directories for each
> of the MailScanner children. You should have as many of those as you
> have set in "Max Children".
>
>> If I stop MailScanner, the /var/spool/MailScanner/incoming directory
>> becomes empty. Start the service again, and I have 14 messages
>> waiting
>> again. I even tried a reboot...same result. Am I missing something
>> somewhere?
>
> What MTA are you using? You may have "half-messages" in the incoming
> mail queue, causing MS to get its count wrong.
>
>> I've also started getting a few messages in my Inbox that have:
>>
>> <<< No Message Collected >>>
>>
>> in the body...nothing else. Related?
>
> That tends to indicate a locking problem.
Running sendmail 8.13.1-2
Mike
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
More information about the MailScanner
mailing list