Email/Domain Whitelisting

Jul 22, 2024
3
0
1
Good day,

How to Add an Email or Domain to the Whitelist/Exclude from Spam Checking?

In my current setup, all emails starting from rule 95 are scanned for spam. However, there are instances of false spam detection, and I want to add those verified legitimate emails to a whitelist or exclude their email addresses or domains from spam checking.

I have already tried user whitelisting, but this did not resolve my concern since it is limited to specific recipients. I also attempted to use the whitelist in "Configuration > Mail Proxy > Whitelist", but adding both emails and domains whitelisting did not work.

*Please disregard the direction in my rules; it is inverted. "Out" means "In" in this due to port configuration.*


1728009549607.png
 
Last edited:
*Please disregard the direction in my rules; it is inverted. "Out" means "In" in this due to port configuration.*
Consider simply changing the ports in GUI->Configuration->Mail Proxy->Ports! the directions are not only used by the rule-system, but also general access control depends on them!

I have already tried user whitelisting, but this did not resolve my concern since it is limited to specific recipients. I also attempted to use the whitelist in "Configuration > Mail Proxy > Whitelist", but adding both emails and domains whitelisting did not work.
see: https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_whitelist_overview

In my current setup, all emails starting from rule 95 are scanned for spam. However, there are instances of false spam detection, and I want to add those verified legitimate emails to a whitelist or exclude their email addresses or domains from spam checking.
just create a rule with higher priority, containing a Who object of these senders, and action accept...

I hope this helps!
 
Consider simply changing the ports in GUI->Configuration->Mail Proxy->Ports! the directions are not only used by the rule-system, but also general access control depends on them!


see: https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_whitelist_overview


just create a rule with higher priority, containing a Who object of these senders, and action accept...

I hope this helps!
Thank you for the response,

That's what I did; I created a rule where all emails for certain users have a higher priority than the quarantine spam rule (Rule 96) because of high false positive spams on our executives mail. It works as expected.

However, we are looking for a way to exclude a specific sender domain from spam checking. We already have a list of trusted domains under Rule 70, but we don't want to lose the spam checking capability. We want to include the "whitelist outside domain list" in spam checking while whitelisting some of them from spam filtering.

Is there any other way to achieve this besides creating a higher priority rule?

What is the purpose of the Whitelist in **Configuration > Mail Proxy > Whitelist**?


Thank you.
 

About

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!