From: Ian Kelling Date: Thu, 1 Sep 2022 16:35:54 +0000 (-0400) Subject: fix mail forwarded from fsf X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=fc2a33b827a7adede9cba7728e381820857189d5;p=distro-setup fix mail forwarded from fsf --- diff --git a/mail-setup b/mail-setup index 4d69087..36b0e9d 100755 --- a/mail-setup +++ b/mail-setup @@ -2786,12 +2786,12 @@ tls_privatekey = REMOTE_SMTP_SMARTHOST_PRIVATEKEY EOF - # this avoids some error. i cant remember what. todo: - # test it out and document why/if its needed. - # i /etc/exim4/host_local_deny_exceptions <<'EOF' - # mail.fsf.org - # *.posteo.de - # EOF + # This allows for forward mail to not get most rcpt checks, especially SPF, + # which would incorrectly get denied. + i /etc/exim4/host_local_deny_exceptions <<'EOF' +mail.fsf.org +*.posteo.de +EOF # cron email from smarthost hosts will automatically be to # USER@FQDN. I redirect that to alerts@, on the smarthosts, but in