procmail
[Top] [All Lists]

RE: file name of attachment after line break

2001-09-05 12:25:45

Content-Type: application/msword;
        name="Ranking.doc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="Ranking.doc"

Does any of you have any clue as to how to match the file extension
after the line break? I am not exactly a regexp expert...


I use something like this:
:0BH
* .*name=.*\.(exe"?$|vbs"?$|....

It seems to work pretty well, but it is riskier than your conditions.

Dustin

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail