Philip Prindeville wrote:
Hi.

I want to block all messages that I'm getting that have:

To: undisclosed recipients: ;

with no Cc: line.

I went round and round with this a while back.

SA 3.25 has a problem with perl null vs 0 vs ''.

so a To header (or CC header) with no content looks like a missing to line.

but I don't see anything below in this rule that even looks for the CC line, so you would need to create a meta rule (that doesn't work in 3.2.5) to check each.
rule #1 checks for the undiscloved recpits
rule #2 checks for CC (or blank cc, which sa 3.2.5 sees as the same)

best to block this in MTA, if you really just want to block it.


Unfortunately, the rule that I have:

header L_UNDISCLOSED            To:raw =~ /undisclosed-recipients: ?;/
describe L_UNDISCLOSED          To: list is meaningless and no Cc:
score L_UNDISCLOSED             10.0



also seems to match when there's no "To:" line at all, only a "Cc:" line
(which isn't what I want).

Why is Spamassassin thinking that there's a header 'To:' line, and it
says 'undisclosed recipients' when it doesn't exist?

This is on Fedora Core 11, updated (so SA 3.2.5, Perl 5.10.0, and
Sendmail 8.14.3)

Thanks,

-Philip




_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/
_________________________________________________________________________

Reply via email to