X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fservers%2Fdrsnuggles.git;a=blobdiff_plain;f=etc%2Fexim4%2Fconf.d%2Facl%2F40_exim4-config_check_data;fp=etc%2Fexim4%2Fconf.d%2Facl%2F40_exim4-config_check_data;h=fbaacfa0b7a59ed0b5bcfbb6dec3c85fdb74f5d8;hp=23137891411261283699fdc2718aeeca11b242f1;hb=82f25cc26bba01e63545474ca5962132c25d57eb;hpb=74996479a0e0fedf9846964694a72c6a0866010c diff --git a/etc/exim4/conf.d/acl/40_exim4-config_check_data b/etc/exim4/conf.d/acl/40_exim4-config_check_data index 2313789..fbaacfa 100644 --- a/etc/exim4/conf.d/acl/40_exim4-config_check_data +++ b/etc/exim4/conf.d/acl/40_exim4-config_check_data @@ -26,6 +26,10 @@ acl_check_data: message = Message was classified as spam # Check using spamassasin, running as the "spamd" user. spam = spamd + # Don't reject to some trusted hosts, since they will only generate + # useless delivery failures to innocent people. We check this after the + # spamcheck, so the next rule can still the spam headers properly. + !hosts = +dont_reject_spam_hosts # Accept any other messages, but add spam headers. accept