If you want to delete emails of a particular user having Exim as the MTA installed on Unix-like operating systems.
The exim mail queue is located at /var/spool/exim/input directory. To delete email for a particular user called [email protected], enter:
# cd /var/spool/exim/input
# grep -lir user\@domain\.co\.in * | xargs rm -fv
Cheers
Latest posts by Alan (see all)
- Install Plesk 8.1 Without SiteBuilder But With MSDE From The Command Line - July 13, 2007
- How To Delete Email For a Particular User - July 2, 2007
- How To List The Contents of a Tar File - July 2, 2007