diff options
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/020_acl.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/conf.d/020_acl.conf b/conf.d/020_acl.conf index 1014dd1..5ed0fa7 100644 --- a/conf.d/020_acl.conf +++ b/conf.d/020_acl.conf | |||
@@ -66,6 +66,12 @@ acl_mua_rcpt: | |||
66 | 66 | ||
67 | 67 | ||
68 | acl_mua_data: | 68 | acl_mua_data: |
69 | require verify = header_names_ascii | ||
70 | message = Invalid character in header name. | ||
71 | |||
72 | require verify = header_syntax | ||
73 | message = Syntax error in header. | ||
74 | |||
69 | require acl = acl_check_alias ${address:$h_from:} $authenticated_id | 75 | require acl = acl_check_alias ${address:$h_from:} $authenticated_id |
70 | message = Header address mismatch: $authenticated_id is not authorized to use ${address:$h_from:}. | 76 | message = Header address mismatch: $authenticated_id is not authorized to use ${address:$h_from:}. |
71 | 77 | ||
@@ -146,6 +152,9 @@ acl_mta_data: | |||
146 | deny condition = ${if > {$max_received_linelength}{998}} | 152 | deny condition = ${if > {$max_received_linelength}{998}} |
147 | set acl_m_msg = Maximum allowed line length is 998 octets, got $max_received_linelength. | 153 | set acl_m_msg = Maximum allowed line length is 998 octets, got $max_received_linelength. |
148 | 154 | ||
155 | require verify = header_syntax | ||
156 | message = Syntax error in header. | ||
157 | |||
149 | warn condition = SCAN_SPAM | 158 | warn condition = SCAN_SPAM |
150 | spam = nobody:true/defer_ok | 159 | spam = nobody:true/defer_ok |
151 | remove_header = x-spam-bar : x-spam-score : x-spam-report : x-spam-status | 160 | remove_header = x-spam-bar : x-spam-score : x-spam-report : x-spam-status |