summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2018-09-14 01:16:51 +0200
committerpacien2018-09-14 01:16:51 +0200
commit1996831e47d4667d559d5a7a9863b148cba98762 (patch)
tree81d71870603d1c421946dffb1af3c77e80da6129
parent4706139d402323efc0f6fbf48da5d20a504daf78 (diff)
downloadexim-1996831e47d4667d559d5a7a9863b148cba98762.tar.gz
Add spam scan acl
-rw-r--r--conf.d/020_acl.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf.d/020_acl.conf b/conf.d/020_acl.conf
index dfd210b..6c978b1 100644
--- a/conf.d/020_acl.conf
+++ b/conf.d/020_acl.conf
@@ -147,6 +147,12 @@ acl_mta_data:
147 deny set acl_m_msg = Maximum allowed line length is 998 octets, got $max_received_linelength. 147 deny set acl_m_msg = Maximum allowed line length is 998 octets, got $max_received_linelength.
148 condition = ${if > {$max_received_linelength}{998}} 148 condition = ${if > {$max_received_linelength}{998}}
149 149
150 warn spam = nobody:true/defer_ok
151 remove_header = x-spam-bar : x-spam-score : x-spam-report : x-spam-status
152 add_header = X-Spam-Score: $spam_score ($spam_bar)
153 add_header = X-Spam-Report: $spam_report
154 add_header = X-Spam-Status: ${if eq{$spam_action}{reject} {Yes}{No}}
155
150 accept 156 accept
151 157
152 158