auto_response_spam 5.2 KB

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