summaryrefslogtreecommitdiff
path: root/mail/spamassassin/files/netbsd_lists.cf
blob: 15e9d3befc0d9f3259e544aa5a87d755b2abc685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: netbsd_lists.cf,v 1.1 2002/10/08 00:49:20 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'.
#

#
# netbsd-bugs@netbsd.org
# compensate for problem reports with confusing content for SpamAssassin

header	__NETBSD_PR_SUBJECT	Subject =~ /\b(?:admin|bin|install|kern|lib|misc|pkg|port-[a-z][a-z0-9]{1,15}|security|standards|toolchain|xsrc|y2k)\/\d{4,6}\b/i
header	__NETBSD_BUGS_SENDER	Sender =~ /\bnetbsd-bugs-owner\@netbsd\.org\b/i
header	__NETBSD_RCVD		Received =~ /\bby\s+(?:mail|narn)\.netbsd\.org\b/i
header	__NETBSD_BUGS_DELIVERED	Delivered-To =~ /\bnetbsd-bugs\@netbsd\.org\b/i
header	__NETBSD_SEND_PR	exists:X-Send-Pr-Version

meta NETBSD_PR		(__NETBSD_SEND_PR && __NETBSD_PR_SUBJECT && __NETBSD_BUGS_SENDER && __NETBSD_RCVD && __NETBSD_BUGS_DELIVERED)
describe NETBSD_PR	Message is a problem report from netbsd-bugs
score NETBSD_PR		-5

meta NETBSD_PR_COMMENT	(! __NETBSD_SEND_PR && __NETBSD_PR_SUBJECT && __NETBSD_BUGS_SENDER && __NETBSD_RCVD && __NETBSD_BUGS_DELIVERED)
describe NETBSD_PR_COMMENT   Message concerns a problem report from netbsd-bugs
score NETBSD_PR_COMMENT	-2.5