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 firstname.lastname@example.org)?
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 email@example.com, enter:
# exiqgrep -ir firstname.lastname@example.org | xargs exim -Mrm
# exiqgrep -ir email@example.com | xargs exim -Mrm
Updated for accuracy.Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?