mqueue.in just gets bigger - no delivery?

Matt Hampton matt at coders.co.uk
Thu Aug 31 18:09:40 IST 2006


Brett Charbeneau wrote:
> 	Thanks for weighing in, Peter!
> 
> On Thu, 31 Aug 2006, Peter Peters wrote:
> 
> PP> > 	I let it run yesterday for several hours and my Inbound queue just kept 
> PP> > getting bigger. I know what you mean on chugging along, though.
> PP> > 	I'm think the SpamAssassin timeouts were revealing and Alex Broens' post 
> PP> > on the redundant rules may have solved the problem.
> PP> 
> PP> Do a grep -i "New Batch" on your maillog. I will show sets of two lines.
> PP> One line telling you how much messages MS thinks is in the queue and how
> PP> much he is going to process.
> 
> Here ya go:
> 
> franklin:/var/spool# tailmail | grep -i "New Batch"
> Aug 31 09:37:29 franklin MailScanner[22258]: New Batch: Found 122 messages 
> waiting 
> Aug 31 09:37:29 franklin MailScanner[22258]: New Batch: Scanning 10 messages, 
> 75798 bytes 
> Aug 31 09:38:53 franklin MailScanner[22487]: New Batch: Found 125 messages 
> waiting 
> Aug 31 09:38:53 franklin MailScanner[22487]: New Batch: Scanning 3 messages, 
> 27060 bytes 
> Aug 31 09:39:22 franklin MailScanner[22493]: New Batch: Found 128 messages 
> waiting 
> Aug 31 09:39:22 franklin MailScanner[22493]: New Batch: Scanning 3 messages, 
> 27490 bytes 
> Aug 31 09:39:53 franklin MailScanner[22507]: New Batch: Found 129 messages 
> waiting 
> Aug 31 09:39:53 franklin MailScanner[22507]: New Batch: Scanning 1 messages, 
> 3678 bytes 
> Aug 31 09:40:33 franklin MailScanner[22507]: New Batch: Found 129 messages 
> waiting 
> Aug 31 09:40:33 franklin MailScanner[22507]: New Batch: Scanning 1 messages, 
> 16175 bytes 
> Aug 31 09:40:56 franklin MailScanner[22526]: New Batch: Found 128 messages 
> waiting 
> Aug 31 09:40:56 franklin MailScanner[22526]: New Batch: Scanning 1 messages, 
> 4351 bytes 
> Aug 31 09:41:02 franklin MailScanner[22512]: New Batch: Found 128 messages 
> waiting 
> Aug 31 09:41:02 franklin MailScanner[22512]: New Batch: Scanning 1 messages, 
> 16178 bytes 
> 
> PP> You can also use /usr/sbin/sendmail
> PP> - -QQueuedirectory=/var/spool/mqueue.in a few times to see whether the
> PP> files you find in your mqueue.in are actual complete df/qf pairs or
> PP> reminants of dropped connections.
> 
> 	Now THAT'S a handy command.
> 	But I can't get it to complete on my machine. I reniced it to -15 and 
> let it chew for almost 20 minutes - no output.
> 
> 

OK to confirm:

You have checked the permission on /var/spool/MailScanner (and child
directories)
You have checked that the Lock Type is correct.

Try removing the oldest messages from the queue and move them to another
directory and see what happens.  Could be a single message doing this.....

matt



More information about the MailScanner mailing list