I assume subscribers to the SpamAssassin users list know that it's
  spam, though ;)

Unfortunately it didn't score that high:

  X-Spam-Status: No, score=-0.1 required=1.0 tests=AWL,BAYES_20 autolearn=no 
version=3.2.5

Sort of related, occasionally some messages on the list get so many
points that my MTA rejects them (score > 10).  I'd like to not do that,
since it seems rude to the list (although ezmlm seems to not really
care).  I'm guessing that I need a custom rule to assign negative points
to messages with headers indicating they arrived from the list (and
perhaps also that a trusted host got the message from the normal list
delivery place).

I looked on the wiki, and haven't found pre-cooked rules for this.  Does
anyone have them, and if so I'd suggest they belong as examples on the
wiki or other docs.

The pkgsrc entry has the following local rule (suggested, not active) to
give negative points to mail from the NetBSD PR system:

# $NetBSD: netbsd_lists.cf,v 1.3 2005/11/13 22:48:32 heinz Exp $

#
# Rules to minimize false positives of NetBSD related emails
#
# This file is not meant to be modified by the user/admin. 
# If you want to add rules for a site, please use local.cf.
#
# Any rules which might be appropriate for this file can be contributed
# with send-pr(1), category 'pkg'.
#

#
# compensate for problem reports with confusing content for SpamAssassin
#

header  __PR_SUBJECT    Subject =~ 
/\b(?:bin|install|kern|lib|misc|pkg|port-[a-z][a-z0-9]{1,15}|pr|security|standards|toolchain|xsrc|y2k)\/\d{4,6}\b/i
header  __NETBSD_RCVD   Received =~ /\bby\s+(?:mail|narn)\.netbsd\.org\b/i

# PR to [EMAIL PROTECTED]
#
header  __NETBSD_BUGS_SENDER    Sender =~ /[EMAIL PROTECTED]/i
header  __NETBSD_BUGS_DELIVERED Delivered-To =~ /[EMAIL PROTECTED]/i

meta NETBSD_PR          (__PR_SUBJECT && __NETBSD_RCVD && __NETBSD_BUGS_SENDER 
&& __NETBSD_BUGS_DELIVERED)
describe NETBSD_PR      Problem report or comment on the netbsd-bugs list
score NETBSD_PR         -2.5

# PR to [EMAIL PROTECTED]
#
header  __PKGSRC_BUGS_SENDER    Sender =~ /[EMAIL PROTECTED]/i
header  __PKGSRC_BUGS_DELIVERED Delivered-To =~ /[EMAIL PROTECTED]/i

meta PKGSRC_PR          (__PR_SUBJECT && __NETBSD_RCVD && __PKGSRC_BUGS_SENDER 
&& __PKGSRC_BUGS_DELIVERED)
describe PKGSRC_PR      Problem report or comment on the pkgsrc-bugs list
score PKGSRC_PR         -2.5

Reply via email to