[ale] Need some scripting assistance

Jim Popovitch jimpop at yahoo.com
Wed Jun 28 12:20:24 EDT 2006


Ryan Fish wrote:
> I am in need of help with figuring out how to grep for ?mail.panteq.com? 
> within /var/spool/mqueue/* and deleting every message that contains this 
> string.
> 
>  
> 
> How would I go about doing this?

Sendmail I presume?

You will need the qtool.pl that comes with the sendmail source package.

Look on this page and you will see plenty of details:
http://www.brandonhutchinson.com/deleting_mail_queue.html

-Jim P.



More information about the Ale mailing list