On Wed, 30 Mar 2016, Bill Cole wrote:
On 30 Mar 2016, at 11:20, John Hardin wrote:
On Tue, 29 Mar 2016, David B Funk wrote:
> Now my original message was a CT: text/plain. Maybe if the original
> message had no textural components at all it might fire as you
> describe but I think it would be an unusual message to have no text,
> html, etc at all.
Same here. I think that's the situation: the message that bounced has
to not have any text/plain parts.
OTOH: If it's got no MIME-Version header and therefore is not a MIME
object, a Content-Type: text/* header makes MIME_NO_TEXT happy for
(technically) no sound reason...
That would seem to point up a problem in MIME message parsing and/or the
MIMEHeader plugin.
MIME_NO_TEXT is a *very* simple rule: "has a content-type: multipart/*
header in the main message headers" and "has no content-type: text/* MIME
header anywhere."
ALSO: MIME_NO_TEXT is not at all picky. If I add just a CT:t/p header up top
where Sendmail doesn't bother doing so, no match on MIME_NO_TEXT *OR*
T_TVD_MIME_NO_HEADERS:
See above. :) It's not meant to be really picky.
AND FINALLY: MIME_NO_TEXT isn't entirely unpicky about finding a CT:t/*
header. It won't find one in the epilog (after the last MIME boundary) or in
the original message body.
Again, that's based on the behavior of the MIMEHeader plugin. I expect it
stops looking for MIME headers after the last boundary. Not sure what you
mean by "in the original message body" because it seems having a CT:t/*
header in the original message suppresses that rule in my and David's
testing.
So, overall, I've got 8 carefully and not excessively redacted slight
variants of one bounce now with CT and MV headers inserted in various ways
and if anyone wants the entire collector's set, they're free for the asking
as a 30k tarball, I'll even compress it if you like.
Do some still hit the rule?
If so, drop it on me so I can test exclusion methods on more than just
local fakery. The fix will *probably* consist of adding && !__BOUNCE_CTYPE
to the exclusion list for that rule.
--
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
-----------------------------------------------------------------------
North Korea: the only country in the world where people would risk
execution to flee to communist China. -- Ride Fast
-----------------------------------------------------------------------
2 days until April Fools' day