fix mail forwarded from fsf
authorIan Kelling <ian@iankelling.org>
Thu, 1 Sep 2022 16:35:54 +0000 (12:35 -0400)
committerIan Kelling <ian@iankelling.org>
Thu, 1 Sep 2022 16:35:54 +0000 (12:35 -0400)
mail-setup

index 4d69087e84d78b663cfbb7e7f9be1fea7dcc67fe..36b0e9d6345334396ab4010b79a06f3b85bac9a0 100755 (executable)
@@ -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