check spam if email smaller than 600 KB

This commit is contained in:
myvesta 2021-11-11 22:54:42 +01:00
commit aba861c814
2 changed files with 2 additions and 2 deletions

View file

@ -174,7 +174,7 @@ acl_check_data:
.ifdef SPAMASSASSIN .ifdef SPAMASSASSIN
warn !authenticated = * warn !authenticated = *
hosts = !+relay_from_hosts hosts = !+relay_from_hosts
condition = ${if < {$message_size}{100K}} condition = ${if < {$message_size}{600K}}
condition = ${if eq{$acl_m1}{yes}{yes}{no}} condition = ${if eq{$acl_m1}{yes}{yes}{no}}
spam = nobody:true/defer_ok spam = nobody:true/defer_ok
add_header = X-Spam-Score: $spam_score_int add_header = X-Spam-Score: $spam_score_int

View file

@ -174,7 +174,7 @@ acl_check_data:
.ifdef SPAMASSASSIN .ifdef SPAMASSASSIN
warn !authenticated = * warn !authenticated = *
hosts = !+relay_from_hosts hosts = !+relay_from_hosts
condition = ${if < {$message_size}{100K}} condition = ${if < {$message_size}{600K}}
condition = ${if eq{$acl_m1}{yes}{yes}{no}} condition = ${if eq{$acl_m1}{yes}{yes}{no}}
spam = nobody:true/defer_ok spam = nobody:true/defer_ok
add_header = X-Spam-Score: $spam_score_int add_header = X-Spam-Score: $spam_score_int