procmail
[Top] [All Lists]

Re: Recipe to Catch E-Mail w/o Body? With Certain Attachments?

2002-09-17 22:50:29
On Tuesday, September 17, 2002, at 04:08 PM, Professional Software Engineering wrote:
Not all messages are *MIME*. The Content-Type: header is a mime-ism -- a plain text non-mime message won't contain it. By and large, you can figure webscripts and stuff are most likely to generate that sort of thing.

So, if there's no header then the test is NOT FALSE and the body gets checked?

Ah.

Take a look at that obnoxious braindead A/V scanner bounce previously mentioned - that comes as plain text, but there's no sign of a Content-Type header in it.

Hmm... good point.

Well, that's why one should test recipe's before enabling them. Especially if I post them. :)

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