Fix auto-whitelist path and remove potentially obsolete directives
[hcoop/config/spamassassin.git] / 65_debian.cf
CommitLineData
f38ff437 1# Special SpamAssassin rules for Debian
2# Duncan Findlay
3
4header D_SENT_BY_DEBCONF Subject =~ /^Debconf:/
5score D_SENT_BY_DEBCONF -5.0
6describe D_SENT_BY_DEBCONF Sent by Debconf
7
8body D_SENT_BY_AFBACKUP /^\[Afbackup\]: Overall exit status:/
9score D_SENT_BY_AFBACKUP -5.0
10describe D_SENT_BY_AFBACKUP Sent by Afbackup
11
12header D_SENT_BY_APTLC Subject =~ /^apt-listchanges: (changelogs|news) for/
13score D_SENT_BY_APTLC -5.0
14describe D_SENT_BY_APTLC Sent by apt-listchanges
15
16header __ANACRON_SUBJ Subject =~ /^Anacron job '[a-z0-9_.-]+' on/i
17header __ANACRON_FROM From =~ /^Anacron/
18meta D_SENT_BY_ANACRON __ANACRON_SUBJ && __ANACRON_FROM
19score D_SENT_BY_ANACRON -5.0
20describe D_SENT_BY_ANACRON Sent by Anacron Daemon
21
22
23header __CRON_FROM From =~ /^Cron Daemon/
24header __CRON_HEADER X-Cron-Env =~ /./
25meta D_SENT_BY_CRON __CRON_FROM && __CRON_HEADER
26score D_SENT_BY_CRON -5.0
27describe D_SENT_BY_CRON Sent by Cron Daemon