web analytics

Frozen mails in exim

Normally an MTA retries the delivery of mails if it is not delivered in first attempt. There are a few mails which fails and exim writes them as frozen. Exim will not bounce emails if the original message looks like a bounce. Instead the message is frozen, awaiting the SysAdmin’s attention. If the message is frozen (attempts to deliver it are suspended) then the text “*** frozen ***” is displayed at the end of the line. You can safely delete those messages.

exim -bP will list all control values

To check the no: of frozen mails:

exim -bp | grep frozen | wc -l

To Clear all frozen mails.

exim -bp | awk ‘$6~”frozen” { print $3 }’ | xargs exim -Mrm

exim -bpu|exiqgrep -zi
will give the message id of frozen messages
for n in `exim -bpu|exiqgrep -zi`; do exim -Mrm $n;done (to delete frozen messages)

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>