I've added a new tool to pythonfilter.  The 'dropmsg' tool will search 
the system's mail queue and quietly remove any messages matching the 
given criteria.  I've required such a tool several times in the past, 
always when some user's password is discovered by spammers who use the 
account to queue thousands of spam messages.  Using mailq and cancelmsg 
is far too slow, and I don't want to send DSNs to the envelope sender's 
address.

Use: dropmsg [-a authentication] [-i IP address] [-s email address]
     The local system's queue will be walked.  Messages matching any
     given criteria will be moved to a quarantine
     (/var/spool/courier/quarantine).  At least one argument is required.
     -a: Messages queued using the given username
     -i: Messages queued from the given IP address
     -s: Messages with the given envelope sender's address or DSNs to
         that address

I've also made some minor changes to the docs and quarantine tool to 
make that component more reliable.

http://phantom.dragonsdawn.net/~gordon/courier-pythonfilter/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to