procmail
[Top] [All Lists]

Re: Has anyone written a procmail filter to remove vcards?

1998-05-11 23:48:46
|Mon 98-05-11 "Stan Brown" <stanb(_at_)awod(_dot_)com> list.procmail
|       I have no idea what they are, but an anoyingly large percentag of the
|       message I get on some lists lately have a section that looks likle
|       this:
| 
|       begin:          vcard
| 
|       ... Lot's of garbage
| 
|       end:                    vcard
|       Does anyone have a handy procmail recipe to strip these out of the
|       incoming mails? And perhaps mail back an anoying mail to the sender
|       :-)

If you only want to kill the messages:

    :0 B
    * begin:.*vcard
    * end:.*vcard
    {
        ...handle the message, bounce it, kill it; whatever
    }

jari