Mail Not Routing, stuck in /var/spool/mqueue.in

Furnish, Trever G TGFurnish at HERFF-JONES.COM
Wed Sep 3 20:18:47 IST 2003


> mv /var/spool/mqueue.in/* /var/spool/mqueue
> sh: line 1: /bin/mv: Argument list too long

That just means there are two many files in the directory to do them all at
once - the "*" is getting expanded to all the filenames.  Try this instead:

for file in `find /var/spool/mqueue.in -type f`;
do
    mv $file /var/spool/mqueue
done

Be sure you get the quotes right aound the find command - they're
"backticks", ie backwards apostrophes, not double-quotes or apostrophes.

-----Original Message-----
From: lester lasad [mailto:llasad1 at YAHOO.COM]
Sent: Wednesday, September 03, 2003 3:50 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Mail Not Routing, stuck in /var/spool/mqueue.in




"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




>
> "Spicer, Kevin" wrote:
> Can you confirm whether email had completely stopped, or whether
> MailScanner just wasn't keeping up with the queue?
>
> If you want to bypass MailScanner to clear the backlog... (assuming
> RedHat syntax)
>
> service MailScanner stop [wait for all MailScanner
> processes to disappear after running this before moving on] mv
> /var/spool/mqueue.in/* /var/spool/mqueue service MailScanner start
> [restart Mailscanner toprocess any newly arriving messages, see if it
> copes] sendmail -q
>
> [this last command will take a very long time to complete as it will
> attempt to deliver each mesasge in the queue, with your backlog this
> could be a considerable period of time]



BMRB International
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material. If you have received this in error, please contact the
sender and delete this message immediately. Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited. BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our
business.



  _____

Do you Yahoo!?
Yahoo!  <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com>
SiteBuilder - Free, easy-to-use web site design software

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030903/1f6c5c0b/attachment.html


More information about the MailScanner mailing list