]> git.donarmstrong.com Git - spamassassin_config.git/blob - common/auto_response_spam
* add more rules to try to catch new kinds of automatic response spam
[spamassassin_config.git] / common / auto_response_spam
1 # -*- mode: spamassassin -*-
2
3 ## This file contains rules which match various automatic responders
4 ## which give us backscatter. The scores here are best guesses; and
5 ## may need to be overridden for recipients which actually want these
6 ## bounces.
7
8 # don 2009-02-05
9 body  QMAILBOUNCE       /This\s*is\s*the\s*qmail-send\s*program/i
10 describe QMAILBOUNCE    Stupid qmail bounces; we don't want them
11 score QMAILBOUNCE       2
12
13 # don 2009-02-05 (the following are all for various stupid auto-repsonse things)
14 header RECEIVEDMAIL     subject =~ /(?:received\s*your\s*mail|(?:respuesta|risposta|response) (?:autom.tica|automatic)|auto(?:matic|m.tica)?\s*(?:respuesta|risposta|response))/i
15 describe RECEIVEDMAIL   It's great that you've received our mail and automatically responded. We don't care
16 score RECEIVEDMAIL      4
17
18 body AUTOREBOD          /(?:received\s*your\s*mail|(?:respuesta|risposta|response) (?:autom.tica|automatic)|auto(?:matic|m.tica)?\s*(?:respuesta|risposta|response))/i
19 describe AUTOREBOD      It's great that you've automatically responded
20 score AUTOREBOD         2
21
22 header YOURMESSAGE      subject =~ /your message/i
23 describe YOURMESSAGE    It's great that our message did something; we don't care
24 score YOURMESSAGE       2.5
25
26 body YOURMESSAGEBOD     /^Your message/i
27 describe YOURMESSAGEBOD It's great that our message did something; we don't care
28 score YOURMESSAGEBOD    2.5
29
30 body NODELIVERY         /could not be delivered/i
31 describe NODELIVERY     We don't care if it could not be delivered
32 score NODELIVERY        1.5
33
34 body NORESEND           /do not resend your original message/i
35 describe NORESEND       If you don't want us to resend our message, why tell us?
36 score NORESEND          2
37
38 body  NOTPROCBOUNCE     /was not processed by our system/i
39 describe NOTPROCBOUNCE  Bounce by system that was not processed
40 score NOTPROCBOUNCE     2
41
42 body ACCOUNTNOTEXIST    /(?:account\s+\S+\s+(does\s*not|doesn't)\s*exist|(?:invalid|not a valid) e-?mail address)/i
43 describe ACCOUNTNOTEXIST        It's not our problem if an account doesn't exist
44 score ACCOUNTNOTEXIST           2
45
46 body CR_SYSTEM1         /sent by a human and not a computer/i
47 describe CR_SYSTEM1     Looks like a challenge/response system
48 score CR_SYSTEM1        2
49
50 body CR_SYSTEM2         /do not reply/i
51 describe CR_SYSTEM2     Body contains do not reply; likely a CR system
52 score CR_SYSTEM2        1.5
53
54 body CR_SYSTEM3         /confirm this request/i
55 describe CR_SYSTEM3     Body contains confirm this request; likely a CR system
56 score CR_SYSTEM3        1.5
57
58 header CR_SYSTEM4       subject =~ /challenge.*response/i
59 describe CR_SYSTEM4     Subject contains challenge/response
60 score CR_SYSTEM4        3
61
62 body CR_SYSTEM5         /confirmation of list posting/i
63 describe CR_SYSTEM5     Body asks us to confirm a list posting
64 score CR_SYSTEM5        3
65
66 header CR_SYSTEM6       subject =~ /^confirm\:/i
67 describe CR_SYSTEM6     Subject asks us to confirm something; we don't want to
68 score CR_SYSTEM6        2
69
70 body SUPPORTMAIL1       /assigned a ticket/
71 describe SUPPORTMAIL1   Message from an automated support/response system
72 score SUPPORTMAIL1      2
73
74 header SUPPORTMAIL2     subject =~ /^\[*(?:update\s*to\s*)?ticket/
75 describe SUPPORTMAIL2   Message with ticket leading it; probably a support mail
76 score SUPPORTMAIL2      1.5
77
78 body SUPPORTMAIL3       /the email address \S+ is not registered/i
79 describe SUPPORTMAIL3   We don't care if an e-mail address is not registered
80 score SUPPORTMAIL3      1.5
81
82 body SUPPORTMAIL4       /(reached an unmonitored e-mail address|no response will be given)/i
83 describe SUPPORTMAIL4   Yeay for dumb auto-response bots that don't want a response
84 score SUPPORTMAIL4      1.5
85
86 header SUPPORTMAIL5     from =~ /\bsupport\@/i
87 describe SUPPORTMAIL5   Message from an address that looks like support@
88 score SUPPORTMAIL5      1.5
89
90 header FROMAUTOREPLY    from =~ /(autoreply|no-?repl(?:y|ies))/i
91 describe FROMAUTOREPLY  Message from an autoreplier or something who doesn't seem to want a reply
92 score FROMAUTOREPLY     4
93
94 header FROMABUSE        from =~ /\babbuse\@/i
95 describe FROMABUSE      Message from abbuse@somedomain
96 score FROMABUSE         1.5
97
98 header FROMSPAMCOP      from =~ /spamcop\@/i
99 describe FROMSPAMCOP    Message from spamcop@somedomain
100 score FROMSPAMCOP       3.5
101
102 header SUBJECTSPAM      subject =~ /(?:\*\*|\[)\s*spam\s*(?:\*\*|\])/i
103 describe SUBJECTSPAM    Subject contains **spam** or [spam], so it's probably spam
104 score SUBJECTSPAM       3.5
105
106 header MESBLOCKED       subject =~ /your message (?:is )?blocked/i
107 describe MESBLOCKED     That's great that our message was blocked
108 score    MESBLOCKED     2
109
110 header FAILDELIVERY     subject =~ /failed to deliver/i
111 describe FAILDELIVERY   Oh noes! You failed to deliver spam!
112 score FAILDELIVERY      2
113
114 header NEWADDRESS       subject =~ /new e-?mail address/i
115 describe NEWADDRESS     We don't care that you have a new e-mail address
116 score NEWADDRESS        2
117
118 header VACATIONMAIL1    user-agent =~ /vacation/i
119 describe VACATIONMAIL1  Mail from the vacation user agent
120 score VACATIONMAIL1     0.1
121
122 header VACATIONMAIL2    X-Vacation =~ /./
123 describe VACATIONMAIL2  Has an X-Vacation header
124 score VACATIONMAIL2     0.1
125
126 meta  VACATIONMAIL      (VACATIONMAIL1 || VACATIONMAIL2)
127 describe VACATIONMAIL   Looks like a vacation message
128 score VACATIONMAIL      1