Q. I’m using Fedora 7 server with exim pre installed by someone else. How do I delete email for a particular user from exim queue (like email@example.com)?
A. Exim is a mail transfer agent (MTA) used on Unix-like operating systems. It is freely available under the GNU GPL and it aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail.
Task: Delete Mail Linux Exim Server
To delete email for a particular user use shell pipes. By default the exim mail queue is located at /var/spool/exim/input directory. To delete email for a particular user called firstname.lastname@example.org, enter:
# exiqgrep -ir email@example.com | xargs exim -Mrm
# exiqgrep -ir firstname.lastname@example.org | xargs exim -Mrm
Updated for accuracy.Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?