OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Infected pc

From: Blake Hudson (blakeispn.net)
Date: Tue Mar 25 2008 - 15:05:03 CDT


-------- Original Message --------
Subject: Re: Infected pc
From: mouss <moussnetoyen.net>
To: postfix-userspostfix.org
Date: Tuesday, March 25, 2008 10:32:53 AM
> Antonio Tommasi wrote:
>> Hi to all,
>> is there a way to delete all mail that become from a specific client?
>> If an internal pc is infected by a virus and send spam by my smtp
>> server, it is necessary, when identified, to delete only email from
>> that ip in my queue.
>> Is there a way?
>
> - mailq shows the queue
> - postcat can print a message
> - postsuper can delete a message
>
>

I have used grep and rm from a bash prompt to delete messages when this
has happened in the past. Does postsuper provide a cleaner method of
deleting messages from the mail queue or will rm do an adequate job?

-Blake