[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim mail Problem

Try running mailq, to get a list of messages currently in the queue.
Try doing an "exigrep 16L9VL-0001OX-00 mainlog" to try and find out why the message is frozen. You will probably have to search back through your logs if its been there a while.
And here is a little script I use a work to delete messages from the queue matching a pattern:
mailq |grep $SPAM |cut -b11-26 > /tmp/spamlist
for i in `cat /tmp/spamlist`
exim -Mrm $i
echo "deleted $i"
rm /tmp/spamlist
And here is a modifaction to try and force deliverery attempts on messages matching a pattern.
mailq |grep $SPAM |cut -b11-26 > /tmp/sendlist
for i in `cat /tmp/sendlist`
exim -M $i
echo "delivered $i"
rm /tmp/sendlist
Andrew Tait
System Administrator
Country NetLink Pty, Ltd
E-Mail: andrewt@cnl.com.au
WWW: http://www.cnl.com.au
30 Bank St Cobram, VIC 3644, Australia
Ph: +61 (03) 58 711 000
Fax: +61 (03) 58 711 874
"It's the smell! If there is such a thing." Agent Smith - The Matrix
----- Original Message -----
Sent: Friday, January 18, 2002 11:47 AM
Subject: Exim mail Problem

Dear Debian Guruz,
My debian server is acting funny.  I did some searching around and greped for anomolies in my log files.  I have noticed that exim mail is showing a message frozen in the mainlog file.
2002-01-17 18:38:02 16L9VL -0001OX-00 Message is frozen
End queue run: pid=17620
Im seeing this same message execpt that the neat looking identifiers after the timestamp change slightly.  There is about 50 diffrent identifiers or so in the main log.  The problem im seeing is exim mail chewing up resources and not letting anything else play, like apache. ;o)
Any ideas?  Or how do I stop this from happening?
Thanks in advance,
Daniel J. Rychlik

Reply to: