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
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.
On Fri, 2013-05-31 at 11:51 -0400, Andrew Talbot wrote:
I'm trying to set up a custom rule that scores HTML attachments.
..snippage..
I found this :
header HTML_ATTACH_RULE_2 Content-Disposition =~
/^filename\=\[a-z]{2}\.html\/i
Don't anchor it to the start of the line, i.e. try this:
That didn't work :(
On Fri, May 31, 2013 at 12:40 PM, Martin Gregorie mar...@gregorie.orgwrote:
On Fri, 2013-05-31 at 11:51 -0400, Andrew Talbot wrote:
I'm trying to set up a custom rule that scores HTML attachments.
..snippage..
I found this :
header HTML_ATTACH_RULE_2
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
On Fri, 31 May 2013 14:10:36 -0400
Andrew Talbot andrew.talbot.ownweb...@gmail.com wrote:
That didn't work :(
What didn't work? Oh... you top-posted.
Anyway... you might need a full rule, which can be expensive.
Something like:
full HTML_RULE
On Fri, 2013-05-31 at 14:10 -0400, Andrew Talbot wrote:
That didn't work :(
Can you post one or two examples of actual MIME attachment headers that
you're trying to get the rule to fire on?
Obvious question, but have you enabled the MIME header module?
I'm using MimeMagic and enabling it
to scan for .html attachments?
On Fri, 31 May 2013 14:10:36 -0400
Andrew Talbot andrew.talbot.ownweb...@gmail.com wrote:
That didn't work :(
What didn't work? Oh... you top-posted.
Anyway... you might need a full rule, which can be expensive.
Something like:
full HTML_RULE /Content
attached.
-Original Message-
From: Martin Gregorie [mailto:mar...@gregorie.org]
Sent: Friday, May 31, 2013 2:35 PM
To: users@spamassassin.apache.org
Subject: Re: Rule to scan for .html attachments?
On Fri, 2013-05-31 at 14:10 -0400, Andrew Talbot wrote:
That didn't work :(
Can you
On Fri, 31 May 2013 14:43:27 -0400
Andrew Talbot andrew.talbot.ownweb...@gmail.com wrote:
That's what I was afraid of. We generally avoid those kinds of rules
since we are scanning millions of messages a day.
Well, a few rules won't hurt. We peak at around 6 million messages/day,
though we
On Fri, 2013-05-31 at 14:45 -0400, Andrew Talbot wrote:
I need it to fire on any HTML attachment. The modules are enabled. I
can get it to pick up text/html, remember, but the problem is that it
detects messages sent as HTML when it's set up like that. It doesn't
detect plain-text messages,
@spamassassin.apache.org
Subject: Re: Rule to scan for .html attachments?
On Fri, 2013-05-31 at 14:10 -0400, Andrew Talbot wrote:
That didn't work :(
Can you post one or two examples of actual MIME attachment headers that
you're trying to get the rule to fire on?
Obvious question, but have you enabled the MIME header
On Fri, 2013-05-31 at 11:51 -0400, Andrew Talbot wrote:
header HTML_ATTACH_RULE_2
You will need a mimeheader [1] rule. A header rule matches the mail
headers only.
Content-Disposition =~ /^filename\=\[a-z]{2}\.html\/i
That is not matching an
@spamassassin.apache.org
Subject: Re: Rule to scan for .html attachments?
On Fri, 2013-05-31 at 14:45 -0400, Andrew Talbot wrote:
I need it to fire on any HTML attachment. The modules are enabled. I
can get it to pick up text/html, remember, but the problem is that it
detects messages sent
@spamassassin.apache.org
Subject: Re: Rule to scan for .html attachments?
On Fri, 2013-05-31 at 14:45 -0400, Andrew Talbot wrote:
I need it to fire on any HTML attachment. The modules are enabled. I
can get it to pick up text/html, remember, but the problem is that it
detects messages sent as HTML
15 matches
Mail list logo