Re: [Exim] Handling of frozen messages

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Greg Ward
Date:  
À: exim-users
Sujet: 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