On Mon, Oct 11, 1999 at 06:17:24PM +0530, FONR wrote:
> Hi
> Can any one tell me a solution for blocking mails on subject.
> I have a customer who gets wierd mails form different sites , the mails
> originate from different site everytime , thus i am not able to use the
> badmail from feature as it is not a fixed site.
> Any clue or help would be highly appreciated.


Although I think blocking mail on subject is a really bad idea, 
I would have installed procmail and give a .procmailrc as a present
to my customer:

#-----------------------

MAILDIR=$HOME/Mail   
DEFAULT=$HOME/Mailbox

:0:
* ^Subject:.*broccoli.*
/dev/null

#-----------------------

(or if you use Maildir, substitute maildrop for procmail)



-- 
magnus
        -- MOST useless 1998 * http://x42.com/

Reply via email to