On Mon, Sep 25, 2006 at 10:56:59PM +0100, Clive Menzies wrote: > On (25/09/06 16:31), Roberto C. Sanchez wrote: > > > > > Reject anything with a .gif or .png attachment? > > There was a thread a while back when the list was being inundated with > messages like "Offical Security Update". A very simple solution is to > use mailfilter which uses regex filters to reject mail when collecting > from a POP server. > Good point. I use maildrop, which also makes use of a ~/.mailfilter configuration file. All I had to do was to tell postfix to use "mailbox_command = /usr/bin/maildrop" in main.cf. Thanks for saving me hours of coding a solution which certainly would have suffered from poor performance at any meaningful volume of messages :-)
Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com
signature.asc
Description: Digital signature