How can i disable SPF checks?

Dec 6, 2022

our PMG v 7.3-3 is running behind another mail gateway. So we want to disable the SPF checks, because we know they will fail.
(We are doing the spf checks on the gateway befor the PMG).

We disabled the "use SPF" flag under "Configuration -> Mail Proxy -> Options".
But when we look at the SpamScore there is still a "SPF_SOFTFAIL 0.972" showing up.

How can we disable the SPF_SOFTFAIL score ?

best regards
you'd need to set custom spamassassin scores (to 0) for all spamassassin tests that you want to disable: (4.8.3)

Else - without explicitly testing this - you can see if enabling xforward in the other gateway (and adapting the postfix configuration for PMG through the templateing system fixes the issue (then PMG should use the original sending IP for the checks)):

I hope this helps!
  • Like
Reactions: BenediktS


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!