Delete Frozen Emails

by Manoj 2012-04-21 12:26:59

Howto check number of emails in the mail queue:


exim -bpc

To check the email ID, sender and receiver of the each email:

exim -bp | more

To delete frozen emails from the mail queue, execute:

exim -bp | grep âАШfrozenâАЩ | awk âАШ{print $3}âАЩ | xargs exim -Mrm

similarly, to delete emails sent using a scriptâАЩ

exim -bp | grep âАШ<>âАЩ | awk âАШ{print $3}âАЩ | xargs exim -Mrm

Tagged in:

833
like
0
dislike
0
mail
flag

You must LOGIN to add comments