On Fri, 31 May 2013, 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.
Meta it with a negated subrule that hits on regular header Content-Type:
multipart/alternative; ?
It doesn't detect plain-text messages, but it will flag plain-text
messages with HTML files 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 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 requires that MimeMagic.pm and
MimeMagic.cf be included in /etc/mail/spamassassin (or wherever you have
told SA to look for its configuration etc.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Our government wants to do everything it can "for the children,"
except sparing them crushing tax burdens.
-----------------------------------------------------------------------
6 days until the 69th anniversary of D-Day