<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
mailscanner-bounces@lists.mailscanner.info
[mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>G.
Armour Van Horn<br>
<b>Sent:</b> 15 September 2007 04:14<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: Queue control?<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Doc Schneider wrote: <o:p></o:p></p>
<pre>-----BEGIN PGP SIGNED MESSAGE-----<o:p></o:p></pre><pre>Hash: SHA1<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>G. Armour Van Horn wrote:<o:p></o:p></pre><pre> <o:p></o:p></pre>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Some unspeakable person flooded Hotmail with spam that looked like it<o:p></o:p></pre><pre>came from me overnight, and I'm struggling under the onslaught of error<o:p></o:p></pre><pre>messages. Hotmail is pumping the messages in, and as long as the load<o:p></o:p></pre><pre>average is under 12 the system is accepting them, but for the most part<o:p></o:p></pre><pre>they're just piling up and not being delivered to the local user.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Earlier this afternoon there were so many files in mqueue.in that I<o:p></o:p></pre><pre>couldn't run ls to see how bad it was. I renamed the directory and<o:p></o:p></pre><pre>created a new one, and not it has over 12,000 files in it, which must<o:p></o:p></pre><pre>mean there are over 6,000 more messages waiting to be processed.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I don't really want to read them all, but I do want to get them<o:p></o:p></pre><pre>processed so I can read the valid mail that is certainly hidden in there.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I tried bumping the Max children from the default up to 20 to see if<o:p></o:p></pre><pre>that would force it to start delivering the mail, but that when my load<o:p></o:p></pre><pre>average hit 16 I stopped MailScanner. (I did "service MailScanner stop"<o:p></o:p></pre><pre>at a load average of just under 16, it didn't actually stop until the<o:p></o:p></pre><pre>load average had hit 25.) Obviously that wasn't the right approach, so<o:p></o:p></pre><pre>now I've set it down to 3 children which is keeping the memory use and<o:p></o:p></pre><pre>load average within reason, but it still isn't delivering any mail.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Is there something I can do to force the system to devote at least some<o:p></o:p></pre><pre>resources to working through the queue instead of just piling it higher?<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Van<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre> <o:p></o:p></pre></blockquote>
<pre><o:p> </o:p></pre><pre>service MailScanner stop<o:p></o:p></pre><pre>service MailScanner startout (this will stop all incoming mail and will<o:p></o:p></pre><pre>just process mail being held in mqueue.in)<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>HTH<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>- --<o:p></o:p></pre><pre>- -Doc<o:p></o:p></pre><pre>Lincoln, NE.<o:p></o:p></pre><pre><a
href="http://www.genealogyforyou.com/">http://www.genealogyforyou.com/</a><o:p></o:p></pre><pre><a
href="http://www.cairnproductions.com/">http://www.cairnproductions.com/</a><o:p></o:p></pre><pre> <o:p></o:p></pre>
<p class=MsoNormal>Actually, it looks to me like that just lets Sendmail
process the mail being held in mqueue. The problem is, there isn't anything
there. If I understand this correctly, it is MailScanner that takes the
messages from mqueue.in and moves them to mqueue, which is the part that isn't
happening.<br>
<br>
I tried to modify the "start" section of /etc/init.d/MailScanner to
start both the outbound Sendmail and MailScanner, but that wasn't as simple as
I hoped. Right now I'm moving massive chunks of mail from the mqueue.in (and
backups thereof) into mqueue, then using the "startout" option, which
is working. Tedious, but it's working.<br>
<br>
Of course, if Hotmail has another million messages for me when I start the
standard MailScanner back up I don't know what I can do about it.<br>
<br>
Van<br>
<br>
<br>
<span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>How about keeping MailScanners number of processes low, but
increasing the batch size?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<pre><span style='color:#1F497D'>We had similar problem... Managed to clear the queue by stopping incoming emails on firewall, letting MailScanner work through the queue and then opening up the firewall after I’d stripped down some of the slower spam checks temporarily.<o:p></o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></pre><pre><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jason<o:p></o:p></span></pre></div>
</body>
<br />-----------------------------------------------------------
<br />The information in this e-mail and any attachments is
<br />confidential. It is intended solely for the attention and
<br />use of the named addressee(s). If you are not the intended
<br />recipient, or person responsible for delivering this
<br />information to the intended recipient, please notify the
<br />sender or email postmaster@birchenallhowden.co.uk and
<br />delete it from your computer systems. Unless you are the
<br />intended recipient or his/her representative you are not
<br />authorised to, and must not, read, copy, distribute, use
<br />or retain this message or any part of it. All messages
<br />are scanned by Mailscanner and are believed to be clean.
<br />Recipients are advised to apply their own virus checks
<br />to any message on delivery. No liability is accepted by
<br />BirchenallHowden Ltd for any losses caused by viruses
<br />contracted during transit over the internet or present in
<br />any recieving system. BirchenallHowden Ltd, 53 Mowbray St,
<br />Sheffield S3 8EN.
<br />-----
<a href="http://www.birchenallhowden.co.uk/"><b>BirchenallHowden</b></a>
</html>