
bugzilla-daemon at bugzilla
Apr 2, 2012, 3:03 PM
Post #2 of 4
(141 views)
Permalink
|
|
[Bug 6780] Existing but empty From: and To:
[In reply to]
|
|
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6780 Kevin A. McGrail <kmcgrail [at] pccc> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kmcgrail [at] pccc --- Comment #2 from Kevin A. McGrail <kmcgrail [at] pccc> 2012-04-02 22:03:15 UTC --- (In reply to comment #1) > If these rules only operate when the header is present, the I suggest the same > with ALL other headers except "Bcc:" - since if present, they may not be empty. > > Only BCC is permitted to be empty when present, and except for mail submission > agent processing, is expected ans supposed to be empty if present. I agree. I think it needs a meta for !MISSING_HEADERS. header __EMPTY_FROM From =~ /^\s*$/ header __EMPTY_TO To =~ /^\s*$/ header __EMPTY_CC Cc =~ /^\s*$/ meta EMPTY_TO_AND_FROM (!MISSING_HEADERS && (__EMPTY_FROM + __EMPTY_TO + __EMPTY_CC >= 2)) describe EMPTY_TO_AND_FROM Mail contains headers that are blank and shouldn't be. score EMPTY_TO_AND_FROM 1.0 Lemat, the above passes lint. Does it hit on the emails you are seeing? regards, KAM -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
|