Slow outgoing mail queue.
paul.simpkin at tdguk.com
Tue Feb 22 09:00:56 GMT 2011
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
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!
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Stephen
Sent: 21 February 2011 19:58
To: MailScanner discussion
Subject: Re: Slow outgoing mail queue.
Mail sitting in the outbound mail queue is not usually a MailScanner
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
You can see what's in the outbound deferred mail queue by running:
That should show output similar to:
/var/spool/mqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time-----
p1IF3cOE000800 5124 Fri Feb 18 10:03 MAILER-DAEMON
(Deferred: Connection timed out with
<Newsalert at xxxxSupport.com>
There should be a line for each message that shows the reason why the
message delivery has been deferred.
steve at fsl.com
The most accurate and cost effective anti-spam solutions available
On Feb 21, 2011, at 3:13 PM, Paul Simpkin wrote:
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
Feb 21 19:05:55 mx1 MailScanner: Spam Checks completed at 9620
bytes per second
Feb 21 19:05:55 mx1 MailScanner: Uninfected: Delivered 1 messages
Feb 21 19:05:55 mx1 MailScanner: Virus Processing completed at
612801 bytes per second
Feb 21 19:05:55 mx1 MailScanner: Deleted 1 messages from
Feb 21 19:05:55 mx1 MailScanner: Batch completed at 8773 bytes
per second (8616 / 0)
Feb 21 19:05:55 mx1 MailScanner: Batch (1 message) processed in
Feb 21 19:05:55 mx1 MailScanner: Logging message p1LJ5sAc029339
Feb 21 19:05:55 mx1 MailScanner: "Always Looked Up Last" took
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.
MailScanner mailing list
mailscanner at lists.mailscanner.info
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner