Inaccurate Queue Amount?
Julian Field
mailscanner at ecs.soton.ac.uk
Sat Oct 16 13:24:57 IST 2004
<x-flowed>
At 13:10 16/10/2004, you wrote:
>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
Set
Lock Type = posix
in your MailScanner.conf. And take a look in your /var/spool/mqueue.in to
see if you have any old qf files without corresponding df files or vice versa.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ 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).
</x-flowed>
More information about the MailScanner
mailing list