procmail
[Top] [All Lists]

Re: How to bounce HTML-only messages

2004-12-19 12:15:34
Greetings.

In article <20041219180534(_dot_)GA28956(_at_)panix(_dot_)com>, Dallman Ross 
wrote:
This bounce message should be sent for only those messages which contain
only HTML mail (no text version) and which contain the header
"X-Spam-Status: No".

The condition is what I and others gave you already:

   * ^Content-Type:.*text/html

I looked at your home page and believe you're a smart enough cookie
to connect the dots from there.

Smart as I may be, I don't see how this answers my question.  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?

Regards,
Tristan

-- 
   _
  _V.-o  Tristan Miller [en,(fr,de,ia)]  ><  Space is limited
 / |`-'  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  <>  In a haiku, so it's hard
(7_\\    http://www.nothingisreal.com/   ><  To finish what you


____________________________________________________________
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