Mail Not Routing, stuck in /var/spool/mqueue.in
Kurt Yoder
kylist at SHCORP.COM
Wed Sep 3 14:02:24 IST 2003
lester lasad said:
>
>
> "Spicer, Kevin" <Kevin.Spicer at BMRB.CO.UK> wrote:
> Which queue?
>
> All are in the mqueue.in
>
> As I said, if you're happy to bypass MailScanner to get the mail
> delivered follow the instructions below.
>
> Tried running your commands and received the following:
>
>> service MailScanner stop
>
> Shutting down MailScanner daemons:
>
> MailScanner: [ OK ]
>
> incoming sendmail: [ OK ]
>
> outgoing sendmail: [ OK ]
>
>> mv /var/spool/mqueue.in/* /var/spool/mqueue
>
> sh: line 1: /bin/mv: Argument list too long
Here's a trick to get around this:
stop mailscanner as above
(stop sendmail service)
/etc/init.d/sendmail stop
mv /var/spool/mqueue /var/spool/mqueue.old
mv /var/spool/mqueue.in /var/spool/mqueue
mv /var/spool/mqueue.old /var/spool/mqueue.in
(start sendmail service)
/etc/init.d/sendmail start
Now sendmail should grab *everything* in the folder you just renamed
to mqueue and deliver it.
--
Kurt Yoder
Sport & Health network administrator
More information about the MailScanner
mailing list