X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d63e6e2745e70150af2c3cad0efd09b126f4cfc2..6270f0b685e414b82dd311ad99fe4df0c3e2bfd6:/cookbooks/exim/templates/default/exim4.conf.erb diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index 3c4ebd4aa..1f6fc31d5 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -550,9 +550,13 @@ acl_check_data: !hosts = +relay_from_hosts message = This message failed local spam checks. - # Accept the message. + # Accept messages from relay hosts without modification. - accept + accept hosts = +relay_from_hosts + + # Accept messages from external hosts and add authentication results. + + accept add_header = :at_start:${authresults {$primary_hostname}} @@ -768,7 +772,7 @@ noreply: to = $sender_address subject = Re: $header_subject: headers = MIME-Version: 1.0\nContent-Type: text/plain; charset=utf-8 - file = /etc/exim4/noreply/$local_part + file = /etc/exim4/noreply/$local_part_data user = Debian-exim group = Debian-exim