delete from the mailq

Greg Matthews gmatt at NERC.AC.UK
Fri Dec 23 10:07:29 GMT 2005


On Fri, 2005-12-16 at 19:25 -0600, Jan Agermose wrote:
> Does anyone have a script or something to delete mails in queue based
> on a regex? Or passing a mail address as sender or receiver address? 
> 

I've used the attached perl script in the past, edit one of the regexs
to match your mails. Seems pretty fast.

G


> Jan
> 
>  
-- 
Greg Matthews           01491 692445
Head of UNIX/Linux, iTSS Wallingford

------------------------ 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