<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 14 (filtered medium)"><base href="x-msg://458/"><style><!--
/* Font Definitions */
@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:Verdana;
        panose-1:2 11 6 4 3 5 4 4 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";}
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;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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 lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:black'>Thank you all so much for the pointers.<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>Yes I can see Mailscanner is not the problem here. Mailscanner takes the email, washes the mail then pop’s it in the outgoing queue. <o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>Then Sendmail (for all domains) just sits there for well over 7mins before trying to send the queue. Sometimes there can be upto 60+ emails waiting.<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>One thing I can see is that only 3 sendmail’s are running, 2 of them are stuck trying to deliver mail to domain with no DNS. IE dead mail etc.<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>Again thanks for all your help so far!<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>Paul Simpin<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><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"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>Stephen Swaney<br><b>Sent:</b> 21 February 2011 19:58<br><b>To:</b> MailScanner discussion<br><b>Subject:</b> Re: Slow outgoing mail queue.<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Paul,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Mail sitting in the outbound mail queue is not usually a MailScanner problem. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>When MailScanner finishes scanning, it passes the message back to sendmail for delivery. Only if sendmail can’t deliver the message immediately does sendmail place the message in the outbound retry mail queue.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>You can see what’s in the outbound deferred mail queue by running:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span class=apple-tab-span> </span>mailq<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>That should show output similar to:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><span class=apple-tab-span> </span>/var/spool/mqueue (1 request)<o:p></o:p></p></div><div><p class=MsoNormal>-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------<o:p></o:p></p></div><div><p class=MsoNormal>p1IF3cOE000800 5124 Fri Feb 18 10:03 MAILER-DAEMON<o:p></o:p></p></div><div><p class=MsoNormal> (Deferred: Connection timed out with <a href="http://mail.xxxxsupport.com">mail.xxxxsupport.com</a>)<o:p></o:p></p></div><div><p class=MsoNormal><span class=apple-tab-span> </span><<a href="mailto:Newsalert@xxxxSupport.com">Newsalert@xxxxSupport.com</a>><o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>There should be a line for each message that shows the reason why the message delivery has been deferred.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:black'>Best regards,</span><br><br><span style='font-family:"Verdana","sans-serif";color:black'>Steve</span><br><span style='font-family:"Verdana","sans-serif";color:black'>-- </span><br><span style='font-family:"Verdana","sans-serif";color:black'>Steve Swaney</span><br><span style='font-family:"Verdana","sans-serif";color:black'><a href="mailto:steve@fsl.com">steve@fsl.com</a></span><br><span style='font-family:"Verdana","sans-serif";color:black'><a href="http://www.fsl.com">www.fsl.com</a></span><br><span style='font-family:"Verdana","sans-serif";color:black'>The most accurate and cost effective anti-spam solutions available</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Feb 21, 2011, at 3:13 PM, Paul Simpkin wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal><span style='color:black'>Hi,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>I really need some help with Mailscanner or sendmail not sure what one is making my mail queue very slow. From the logs I can see that all the normal scans are done then the mail just sits in the outgoing queue.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Here is where the log file just stops for well over 10mins. I have changed the startup script for sendmail and added –q1m but still does not help.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Feb 21 19:05:55 mx1 MailScanner[29289]: Spam Checks completed at 9620 bytes per second</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Feb 21 19:05:55 mx1 MailScanner[29289]: Uninfected: Delivered 1 messages</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Feb 21 19:05:55 mx1 MailScanner[29289]: Virus Processing completed at 612801 bytes per second</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Feb 21 19:05:55 mx1 MailScanner[29289]: Deleted 1 messages from processing-database</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Feb 21 19:05:55 mx1 MailScanner[29289]: Batch completed at 8773 bytes per second (8616 / 0)</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Feb 21 19:05:55 mx1 MailScanner[29289]: Batch (1 message) processed in 0.98 seconds</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Feb 21 19:05:55 mx1 MailScanner[29289]: Logging message p1LJ5sAc029339 to SQL</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Feb 21 19:05:55 mx1 MailScanner[29289]: "Always Looked Up Last" took 0.00 seconds</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Here is a my version etc:</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Linux<span class=apple-converted-space> </span><a href="http://mx1.tdguk.com">mx1.tdguk.com</a><span class=apple-converted-space> </span>2.6.18-194.17.1.el5.centos.plus #1 SMP Thu Sep 30 19:27:35 EDT 2010 i686 i686 i386 GNU/Linux</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>This is CentOS release 5.5 (Final)</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>This is Perl version 5.008008 (5.8.8)</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>This is MailScanner version 4.81.4</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Hope someone can help.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Regards,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>Paul Simpkin</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'> </span><o:p></o:p></p></div><p class=MsoNormal>--<span class=apple-converted-space> </span><br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br><br>Before posting, read<span class=apple-converted-space> </span><a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br><br>Support MailScanner development - buy the book off the website!<span class=apple-converted-space> </span><o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>