On Sun, Dec 19, 2004 at 08:12:15PM +0100, Klaus Johannes Rusch wrote:
Tristan Miller wrote:
Won't the condition you specify also match multi-part messages?
Sure, one part of the message may contain the line "Content-Type:
text/html", but another will also contain "Content-Type: text/plain".
Or is there something about procmail syntax that I don't understand?
The default match is against the header of the message only. A
message with both HTML and plain text will contain a Content-Type:
multipart/alternative header, only a pure HTML message will have
Content-Type: text/html in the header.
Exactly. Thank, you, Klaus. Conditions won't consider the body of
the message unless you tell them explictly to do so. So a header
field proclaiming "Content-Type: text/html" should be only that.
--
dman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail