On 05/31/2013 05:51 PM, Andrew Talbot wrote:
Hey all -

I'm trying to set up a custom rule that scores HTML attachments.

The problem I'm running across is that using a rule like this one:
mimeheader HTML_ATTACH Content-Type =~ /^text\/html/i

Will flag all messages that come in as HTML (vs. plain text).

I found this :
header HTML_ATTACH_RULE_2 Content-Disposition =~
/^filename\=\"[a-z]{2}\.html\"/i

But that doesn't ... Work ... At all.


Any suggestions? Is this even possible?


use mime_header instead of header

Reply via email to