<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=757231919-03092003><FONT face=Arial color=#0000ff
size=2>Whenever you say "queue" on this list, you should stop and remember to
write either "incoming queue" or "outbound queue" instead. Do you mean you
have 2000 messages in the incoming queue? If so, then yes MailScanner
still has to work on them, but if you mean that you have 2000 in the outgoing
queue, then MailScanner is already completely out of the picture for those
messages.</FONT></SPAN></DIV>
<DIV><SPAN class=757231919-03092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=757231919-03092003><FONT face=Arial color=#0000ff size=2>Mail
in the outbound queue is entirely handled by your MTA. If you are seeing
backlogs there, then you need to figure out whether it's normal or a real
problem. If you have mail sitting in the outbound queue destined for
domains you do not control, then that may very well be normal -- mail gets
defered when servers are down, DNS has problems, etc. If the mail stuck in
the queue is destined for a domain you control, then you need to figure out why
it's not going out immediately.</FONT></SPAN></DIV>
<DIV><SPAN class=757231919-03092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=757231919-03092003><FONT face=Arial color=#0000ff size=2>If you
are using sendmail and you want to process just those messages in the outbound
queue that are destined for your domain, then instead of sendmail -q, use
sendmail -qRyourdomain.com. That will process only those messages with
"yourdomain.com" in the recipient line of the message. Note that if you
aren't splitting messages into one-per-recipient then this may still include
messages bound for other domains (ie you have a message with two recipients, one
local, one remote) and may therefore take a while.</FONT></SPAN></DIV>
<DIV><SPAN class=757231919-03092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=757231919-03092003><FONT face=Arial color=#0000ff size=2>You
can see what a sendmail process is doing at any given time - just look at it's
process listing in the long output format of ps. The only tedious part is
identifying the sendmail process you're interested in. If you're using -qR
you can look for that...</FONT></SPAN></DIV>
<DIV><SPAN class=757231919-03092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=757231919-03092003><FONT face=Arial color=#0000ff size=2>ps
auxww | grep 'sendmail -qR'</FONT></SPAN></DIV>
<DIV><SPAN class=757231919-03092003></SPAN> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> lester lasad
[mailto:llasad1@YAHOO.COM]<BR><B>Sent:</B> Wednesday, September 03, 2003 3:30
AM<BR><B>To:</B> MAILSCANNER@JISCMAIL.AC.UK<BR><B>Subject:</B> Re: Mail Not
Routing, stuck in /var/spool/mqueue.in<BR><BR></FONT></DIV>
<DIV>This is for incoming mail. On average I receive 15-20 thousand incoming
emails a day. Right now I have roughly 2000 messages in the queue, so MS
has been routing mail but it is very slow. Doesn't seem to want to catch
up.<BR><BR><B><I>"Spicer, Kevin" <Kevin.Spicer@BMRB.CO.UK></I></B>
wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff
size=2>Can you confirm whether email had completely stopped, or whether
MailScanner just wasn't keeping up with the queue?</FONT></SPAN></DIV>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff size=2>If
you want to bypass MailScanner to clear the backlog... (assuming RedHat
syntax)</FONT></SPAN></DIV>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff
size=2>service MailScanner
stop
[wait for all MailScanner processes to disappear after running this before
moving on]</FONT></SPAN></DIV>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff size=2>mv
/var/spool/mqueue.in/* /var/spool/mqueue</FONT></SPAN></DIV>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff
size=2>service MailScanner
start
[restart Mailscanner toprocess any newly arriving messages, see if it
copes]</FONT></SPAN></DIV>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff
size=2>sendmail -q</FONT></SPAN></DIV>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=026590108-03092003><FONT face=Arial color=#0000ff
size=2>[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]</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> lester lasad
[mailto:llasad1@YAHOO.COM]<BR><B>Sent:</B> 03 September 2003
08:59<BR><B>To:</B> MAILSCANNER@JISCMAIL.AC.UK<BR><B>Subject:</B> Re: Mail
Not Routing, stuck in /var/spool/mqueue.in<BR><BR></FONT></DIV>
<DIV>Kevin, </DIV>
<DIV>To be honest all I have ever used is mailscanner, I am not famaliar
with configuring sendmail on it's own. I have been at this all night
with no luck. I have restarted MS many times with minimal
success. I have tried changing my routing table to route to a
different internal server to verify it's not a problem with the host I
normally connect with and have the same problems. This is very
frustrating, I've got about 2000 message still stuck in the queue, they
are getting delivered but at a very slow rate. Users don't like to
see email from customers that are 2 days late. If you have any more
suggestions, I'd appreciate it.<BR><BR><B><I>"Spicer, Kevin"
<Kevin.Spicer@BMRB.CO.UK></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">lester
lasad wrote:<BR>> Kevin,<BR>> I took your suggestion and all new
mail seems to be coming in OK, the<BR>> problem is that I copied one
of the emails out of mqueue.in into<BR>> mqueue but it does not
route. It's just stuck, all other new mail<BR>> that comes in routes
with no problems. any suggestions? <BR><BR>Do you have both df and qf
files for that? Maybe the mail itself is what has caused your
problem?<BR><BR><BR><BR>BMRB International
<BR>http://www.bmrb.co.uk<BR>+44 (0)20 8566
5000<BR>_________________________________________________________________<BR>This
message (and any attachment) is intended only for the <BR>recipient and
may contain confidential and/or privileged <BR>material. If you have
received this in error, please contact the <BR>sender and delete this
message immediately. Disclosure, copying <BR>or other action taken in
respect of this e! ! mail or in <BR>reliance on it is prohibited. BMRB
International Limited <BR>accepts no liability in relation to any
personal emails, or <BR>content of any email which does not directly
relate to our <BR>business.</BLOCKQUOTE>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR><A
href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo!
SiteBuilder</A> - Free, easy-to-use web site design
software</BLOCKQUOTE><BR><BR><BR>BMRB International <BR><A
href="http://www.bmrb.co.uk/">http://www.bmrb.co.uk</A> <BR>+44 (0)20 8566
5000 <BR><BR>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
accept no liability in relation to any personal emails, or content of any
email which does not directly relate to our business. <BR></BLOCKQUOTE>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR><A
href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo!
SiteBuilder</A> - Free, easy-to-use web site design
software</BLOCKQUOTE></BODY></HTML>