chiark
/
gitweb
/
~mdw
/
exim-config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e12c958
)
spam.m4: Apply Exim's header validation to incoming messages.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 10 Jan 2014 11:27:26 +0000
(11:27 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 25 Jan 2014 13:15:43 +0000
(13:15 +0000)
spam.m4
patch
|
blob
|
blame
|
history
diff --git
a/spam.m4
b/spam.m4
index 705fbeed116fe69af437c9640a19181717635503..d1b7c50206c8e7b753f22ad8da1fa01e50a25f55 100644
(file)
--- a/
spam.m4
+++ b/
spam.m4
@@
-116,6
+116,9
@@
data_spam:
## If the client is trusted, don't bother with any of this.
accept hosts = +trusted
+ ## Check header validity.
+ require verify = header_syntax
+
## Check the message for spam, comparing to the configured limit.
deny spam = exim:true
message = Tinned meat product detected ($spam_score)