Matt Sealey escribió: > I have a need to clean up the retry queue.. when I start exim or view the > queue we have hundreds > of messages in there that just seem to sit for weeks. I'd like to manually > get rid of them just > for cleanliness' sake. > > However what I would really like is to see the mails first; they're all > incoming and waiting for > DNS/smtp verification or some other stalled check. Just the > > 2007-03-05 16:47:22 1HN9a6-000C8q-05 == [EMAIL PROTECTED] routing defer > (-51): retry time not reached > 2007-03-05 16:47:22 1HNx7n-000MRL-CK Message is frozen > 2007-03-05 16:47:22 1HNYT8-000H50-B3 Message is frozen > 2007-03-05 16:47:22 1HNZnR-000IhT-Qf Message is frozen > > Something like this. Is there an option I can pass to exim or some other > program to get more > data on these frozen or retrying messages? > > Then.. once I have that data and am comfortable nuking a message (or all of > them) what exactly > is the command for it? I read through the manual for an hour and it isn't > very "instructive" > even if it is informative as to queue options and handling.. I'd really just > rather be told what > the exact specific option is and what it needs to be paired with :D > > if you want to clear all the spool:
exim4 -Mrm `ls /var/spool/exim4/input/ | grep -- -H$ | cut -c 1-16` This command delete all the messages in the spool directory /var/spool/exim4/input. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
