You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/09/27 16:09:08 UTC

[Bug 5110] EXTRA_MPART_TYPE fires on valid multipart/related

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5110





------- Additional Comments From nj@leverton.org  2006-09-27 14:09 -------
I don't understand why there's a check for zero or one matches on  
'multipart' either in the RE for this rule.  It seems to me that 
 
(?:\s*multipart\/)? 
 
will match any input (and testing the RE confirms that).  Is this perhaps a 
typo for excluding multiparts, or something else ? 
 
May I suggest this rule for trial which excludes only multipart/related: 
 
m/^\s*\b(?!multipart\/related\b).* type=/i 
 
or perhaps this looser one which excludes all multiparts: 
 
m/^\s*\b(?!multipart\/).* type=/i 
 



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.