Slow outgoing mail queue.

Steve Swaney steve at fsl.com
Tue Feb 22 10:10:49 GMT 2011


Paul,

What does the output of 'mailq' show?

Best regards

Steve
--
Steve Swaney
steve at swaney.com
Fort Systems Ltd
www.fsl.com

Paul Simpkin <paul.simpkin at tdguk.com> wrote:

>Thank you all so much for the pointers.
>
> 
>
>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. 
>
> 
>
>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.
>
> 
>
>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.
>
> 
>
> 
>
>Again thanks for all your help so far!
>
> 
>
>Regards,
>
> 
>
>Paul Simpin
>
> 
>
>From: mailscanner-bounces at lists.mailscanner.info
>[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Stephen
>Swaney
>Sent: 21 February 2011 19:58
>To: MailScanner discussion
>Subject: Re: Slow outgoing mail queue.
>
> 
>
>Paul,
>
> 
>
>Mail sitting in the outbound mail queue is not usually a MailScanner
>problem. 
>
> 
>
>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.
>
> 
>
>You can see what's in the outbound deferred  mail queue by running:
>
> 
>
>            mailq
>
> 
>
>That should show output similar to:
>
> 
>
>                        /var/spool/mqueue (1 request)
>
>-----Q-ID----- --Size-- -----Q-Time-----
>------------Sender/Recipient-----------
>
>p1IF3cOE000800     5124 Fri Feb 18 10:03 MAILER-DAEMON
>
>                 (Deferred: Connection timed out with
>mail.xxxxsupport.com)
>
> 
><Newsalert at xxxxSupport.com>
>
> 
>
>There should be a line for each message that shows the reason why the
>message delivery has been deferred.
>
> 
>
>Best regards,
>
>Steve
>-- 
>Steve Swaney
>steve at fsl.com
>www.fsl.com
>The most accurate and cost effective anti-spam solutions available
>
> 
>
> 
>
>On Feb 21, 2011, at 3:13 PM, Paul Simpkin wrote:
>
>
>
>
>
>Hi,
>
> 
>
>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.
>
> 
>
>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.
>
> 
>
>Feb 21 19:05:55 mx1 MailScanner[29289]: Spam Checks completed at 9620
>bytes per second
>
>Feb 21 19:05:55 mx1 MailScanner[29289]: Uninfected: Delivered 1 messages
>
>Feb 21 19:05:55 mx1 MailScanner[29289]: Virus Processing completed at
>612801 bytes per second
>
>Feb 21 19:05:55 mx1 MailScanner[29289]: Deleted 1 messages from
>processing-database
>
>Feb 21 19:05:55 mx1 MailScanner[29289]: Batch completed at 8773 bytes
>per second (8616 / 0)
>
>Feb 21 19:05:55 mx1 MailScanner[29289]: Batch (1 message) processed in
>0.98 seconds
>
>Feb 21 19:05:55 mx1 MailScanner[29289]: Logging message p1LJ5sAc029339
>to SQL
>
>Feb 21 19:05:55 mx1 MailScanner[29289]: "Always Looked Up Last" took
>0.00 seconds
>
> 
>
> 
>
> 
>
> 
>
>Here is a my version etc:
>
> 
>
>Linux mx1.tdguk.com 2.6.18-194.17.1.el5.centos.plus #1 SMP Thu Sep 30
>19:27:35 EDT 2010 i686 i686 i386 GNU/Linux
>
>This is CentOS release 5.5 (Final)
>
>This is Perl version 5.008008 (5.8.8)
>
> 
>
>This is MailScanner version 4.81.4
>
> 
>
> 
>
>Hope someone can help.
>
> 
>
> 
>
>Regards,
>
> 
>
>Paul Simpkin
>
> 
>
> 
>
>-- 
>MailScanner mailing list
>mailscanner at lists.mailscanner.info
>http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>Before posting, read http://wiki.mailscanner.info/posting
>
>Support MailScanner development - buy the book off the website! 
>
> 
>
>
>-- 
>This message has been scanned for viruses and
>dangerous content by TDG UK, and is
>believed to be clean.
>
>
>-- 
>MailScanner mailing list
>mailscanner at lists.mailscanner.info
>http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>Before posting, read http://wiki.mailscanner.info/posting
>
>Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list