Re: [Exim] Handling of frozen messages

Top Page
Delete this message
Reply to this message
Author: Greg Ward
Date:  
To: exim-users
Subject: Re: [Exim] Handling of frozen messages
On 22 August 2001, Patrick von der Hagen said:
> Well, I settled for a cron-job now:
> mailq | grep frozen | cut -d " " -f 5|xargs -i exim -Mg {}
> shoud do the job (if called with an intervall shorter then 10 hours).


Umm, what if there's mail in your queue addressed to frozen@???,
or luser@???? This should be a lot safer:

mailq | awk '$6 == "frozen" { print $3 }' | xargs -i exim -Mg {}

        Greg
-- 
Greg Ward - software developer                gward@???
MEMS Exchange                            http://www.mems-exchange.org