https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6780
--- Comment #4 from Lemat <[email protected]> 2012-04-04 00:16:34 UTC --- hmm... MISSING_HEADERS is operating only on To: header: header MISSING_HEADERS eval:check_for_missing_to_header() sub check_for_missing_to_header { my ($self, $pms) = @_; my $hdr = $pms->get('To'); $hdr = $pms->get('Apparently-To') if $hdr eq ''; return 1 if $hdr eq ''; return 0; } which is not exactly identical to what I have been thinking about. And I have been thinking not about AND but OR, something like that: header __EMPTY_FROM From =~ /^\s*$/ header __EMPTY_TO To =~ /^\s*$/ header __EMPTY_CC Cc =~ /^\s*$/ header __HAS_FROM exists:From header __HAS_TO exists:To header __HAS_CC exists:CC meta EMPTY_TO_OR_FROM_OR_CC (__HAS_TO && __EMPTY_TO) || (__HAS_FROM && __EMPTY_FROM) || (__HAS_CC && __EMPTY_CC) describe EMPTY_TO_OR_FROM_OR_CC Mail contains headers that are blank and shouldn't be. score EMPTY_TO_OR_FROM_OR_CC 1.0 -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
