procmail
[Top] [All Lists]

RE: Blocking some attachments

2003-09-19 18:01:16
On Fri, 19 Sep 2003, Gary Funck wrote:

As you can see, it is a hack because it can't determine if the use of
the line with Content- in the body is in fact an attachement delimiter
or simply something talking about such attachments (for example, this
message).

http://www.well.com/user/barts/email/mimepart.txt shows an approach to
extracting MIME parts from a message.  If all you're interested in is
testing a particular embedded mime-part header, you can ignore most of
the stuff after the "Now extract just the desired part" comment.  Just
use the stuff before that to set the PART_HEADER variable, and then
test with "* PART_HEADER ?? ...".


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