Didn't work with mime_header (or mimeheader) with either rule.

On Fri, May 31, 2013 at 12:23 PM, Axb <axb.li...@gmail.com> wrote:

> 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