Deleteing Mails from Sendmails queue

Ian Barnes ianb at OPTEQINT.NET
Wed Apr 20 09:06:15 IST 2005


Hi,

Im using Sendmail with Mailscanner. Now i have a need to delete certain
mails from the mail queue. Im writing a basic page that will display the
mails and then the admin can just delete the mails in the queue that he
chooses.

I currently use the following commands to get the queues:

Incoming: sendmail -bp -OQueueDirectory=/var/spool/mqueue.in
Outgoing: sendmail -bp

Now, If i want to delete a message that appears in the list, how can i do it?

Thanks,
Ian

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list