1
0
Fork 0
mirror of https://github.com/myvesta/vesta synced 2025-08-13 18:17:55 -07:00

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
install/debian

View file

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

View file

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