OTish - Mail stuck in mqueue

William Burns William.Burns at AEROFLEX.COM
Wed Apr 14 17:52:53 IST 2004


Howard:

I'm assuming that either Ugo's suggestion solved your problem, or that 
it has since resolved itself...

However:

I have had similar problems w/ sendmail, where his suggestion (as-is) 
sort-of worked, but ignored the majority of the queue files.

Try adding one more option:
 > /usr/sbin/sendmail -q -v -OMinQueueAge=0

Other options for when you've got multiple config files w/ multiple 
spool directories:
 > -OQueueDirectory=/mvar/spool/mqueue
(change the spool directory to match your config)

 > -qGgroupname
(If you've implemented multiple queue-groups... which you probably 
haven't if you're using mailscanner)

-Bill

>>-----Message d'origine-----
>>De : Howard Robinson [mailto:howard at harper-adams.ac.uk] 
>>Envoyé : 14 avril, 2004 09:56
>>À : MAILSCANNER at JISCMAIL.AC.UK
>>Objet : OTish - Mail stuck in mqueue
>>
>>
>>Hello list members
>>
>>We run MailScanner on a gateway that forwards internal email 
>>to a novell
>>system. Two unusual machine errors have happened, one during the week
>>when the Mailscanner Machine crashed due to a UPS fault and 
>>the second over
>>weekend the Novell servers bombed.
>>As soon as I restarted the MailScanner gateway and corrected 
>>a few faults on
>>/var email started flowing. Same again after the weekend when 
>>the Novell
>>servers were restarted, email flowed again.
>>However there are 4000 emails 'stuck in /var/spool/mqueue.
>>I have had a look and there are about 40 starting with Q the 
>>rest are df or qfs (in
>>pairs ~4000 each) plus 3 tf files.
>>Looking through the archives I came across this snipped bit --
>>---
>>If the mail is in qf* and df* files, then the next time the 
>>queue is run by
>>sendmail it will all get sent. If they have been renamed to 
>>Qf* then you will
>>need to rename them back again. -- Julian Field
>>--- end of snipped bit
>>So they should be on there way as sendmail (via MailScanner) 
>>is running.
>>Mail is going in and out but these 4000 are not moving.
>>I noticed that whilst all are owned by root some are in the 
>>root group and some
>>in smmsp group (not sure why). Also I had a look at a random 
>>selection of the
>>q files and they all contained connection refused or deferred 
>>messages - many
>>but not all from when the Novell was down.
>>It's now a good 36 hours since the novell system was restarted.
>>What can I do to send these on their way & will the deferred 
>>ones eventually go?
>>    
>>
>
>  
>
Ugo Bellavance wrote:

>Have you tried sendmail -q -v
>
>  
>




More information about the MailScanner mailing list