Random messages stuck in mqueue

Corey McFadden cmcfadden01 at gmail.com
Wed Aug 1 05:46:05 IST 2007


Guys,

We're experiencing an issue on one of our boxes where messages (a good
percentage) are hung in /var/spool/mqueue after being processed by
MailScanner.  Even those to be delivered locally will sit for (sometimes)
hours until they're finally delivered.

I've never seen this behavior before and something is definitely awry.

Here's the environment:

This is CentOS release 4.5 (Final)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.61.7

Executing 'sendmail -q -v' WILL process the stuck messages but can take
quite a long time to run because it will try to deliver everything queued in
a linear fashion.

Here's a good example of a message hung for more than 10 minutes:

[root at ewrgga-hst01 mqueue]# cat qfl714YqCD027817
V8
T1185942893
K0
N0
P32072
Fbs
<snip>
HX-x-MailScanner-SpamCheck: spam, SpamAssassin (not cached,
        score=46.69, required 6, autolearn=spam, BAYES_99 3.50,
        FH_HOST_ALMOST_IP 1.75, FH_MSGID_01C67 0.00, FM_RATSIGN_1106 3.80,
        FRT_OFFER2 1.29, FRT_PRICE 3.49, FUZZY_OFFERS 1.25,
        FUZZY_SOFTWARE 3.47, HELO_LOCALHOST 3.94, OUTLOOK_3416 1.74,
        RAZOR2_CF_RANGE_51_100 0.50, RAZOR2_CF_RANGE_E4_51_100 1.50,
        RAZOR2_CF_RANGE_E8_51_100 1.50, RAZOR2_CHECK 0.50,
        RCVD_IN_BL_SPAMCOP_NET 1.96, RCVD_IN_CBLABUSE 0.25, RCVD_IN_PBL 0.91
,
        RCVD_IN_SORBS_DUL 0.88, RCVD_IN_XBL 3.03, RDNS_DYNAMIC 0.10,
        URIBL_AB_SURBL 1.86, URIBL_BLACK 3.00, URIBL_JP_SURBL 1.50,
        URIBL_OB_SURBL 1.50, URIBL_SBL 1.50, URIBL_SC_SURBL 0.47,
        URIBL_WS_SURBL 1.50)
HX-x-MailScanner-SpamScore: 46.69
HX-x-MailScanner-From:
RP:<spamtrap at localhost>
.

Analyzing:
T1185942893 = Wed Aug  1 00:34:53 2007
Current time: Wed Aug  1 00:44:02 EDT 2007


This is pretty typical of the messages hung.  In this case it's waiting to
be delivered to a local "spamtrap" mailbox.

Can anyone offer me any ideas to troubleshoot this?  I've not been too
successful hunting so far today.

Thanks in advance!
-Corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20070801/47a5ea2e/attachment.html


More information about the MailScanner mailing list