There are two locations for a whitelist:
Configuration > Mail Proxy > Whitelist and Mail Filter > Who objects > Whitelist
I'm not sure what the difference is between these two?
Is Configuration > Mail Proxy > Whitelist for postfix's whitelist and the who objects for pmg-smtp-filter?
If so, will the spam filter still run on messages that are whitelisted under configuartion > mailproxy > whitelist?
Some of our domains have been migrated to office365 but not all mailboxes are moved. Half of them stay on our own server.
So our domain's MX has been changed to office365 but for non-existing domains office365 is forwarding those mails back to our own SMTP server (proxmox mail gateway).
While this is currently working, it will potentially fail for many mails because office365 is sending those mails from their IP's and this will cause SPF failures from pmg's point of view.
For this reason we need to whitelist all IP's from office365 so that pmg will just accept it and won't even scan them with the anti spam filter.
We can programatically get the IP's from microsoft's API but where do they go in pmg?
Do they need to be in both places or just one?
Configuration > Mail Proxy > Whitelist and Mail Filter > Who objects > Whitelist
I'm not sure what the difference is between these two?
Is Configuration > Mail Proxy > Whitelist for postfix's whitelist and the who objects for pmg-smtp-filter?
If so, will the spam filter still run on messages that are whitelisted under configuartion > mailproxy > whitelist?
Some of our domains have been migrated to office365 but not all mailboxes are moved. Half of them stay on our own server.
So our domain's MX has been changed to office365 but for non-existing domains office365 is forwarding those mails back to our own SMTP server (proxmox mail gateway).
While this is currently working, it will potentially fail for many mails because office365 is sending those mails from their IP's and this will cause SPF failures from pmg's point of view.
For this reason we need to whitelist all IP's from office365 so that pmg will just accept it and won't even scan them with the anti spam filter.
We can programatically get the IP's from microsoft's API but where do they go in pmg?
Do they need to be in both places or just one?