29 lines
1.3 KiB
CFEngine3
29 lines
1.3 KiB
CFEngine3
# $NetBSD: netbsd_lists.cf,v 1.2 2005/10/09 01:26:50 rillig 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
|