I have an offsite backup MX server to avoid bouncing mail if my connections or gateway are down. The problem is that i think pmg's SPF filter rejects all mail that has been relayed through the backup MX because it isn't part of the sender's SPF record.
So I'm confused about where the problem really is:
Is pmg's SPF checking problematic/too simplistic because it isn't checking the "envelope sender" (SMTP Mail From)" or first received header to determine the sender, rather than what ever relay server connects to PMG's postfix? It seems it has the assumption that mail will never be relayed along the way.
Should I just turn off pmg proxy SPF checking and let SpamAssassin do it? I didn't check if SA SPF checking is enabled by default in PMG, but this seems preferable since mail will be captured and quarantined instead of being rejected?
I think setting any sort of trust/white list for the external backup MX server is the wrong solution since all of the main that comes through it should be considered potential spam.
Thanks for any guidance.
So I'm confused about where the problem really is:
Is pmg's SPF checking problematic/too simplistic because it isn't checking the "envelope sender" (SMTP Mail From)" or first received header to determine the sender, rather than what ever relay server connects to PMG's postfix? It seems it has the assumption that mail will never be relayed along the way.
Should I just turn off pmg proxy SPF checking and let SpamAssassin do it? I didn't check if SA SPF checking is enabled by default in PMG, but this seems preferable since mail will be captured and quarantined instead of being rejected?
I think setting any sort of trust/white list for the external backup MX server is the wrong solution since all of the main that comes through it should be considered potential spam.
Thanks for any guidance.
Last edited: