[SOLVED] Mail Filter not working?


New Member
Aug 9, 2018
Hello everyone.

I am trying to block specific users from sending emails.

These are the steps I followed:

  1. In my Active Directory server a created a group called ExchangeDenySendExternal
  2. I added my AD user to the group ExchangeDenySendExternal
  3. In the Proxmox MG, under Configuration --> User Management-->LDAP I configured a profile (DC1) for my Active Directory server and when I select it, under Groups of 'DC1' I can see the ExchangeDenySendExternal group previously created
  4. In the Proxmox MG, under Mail Filter-->Who Objects I created an object called DenySendExternal.
  5. I configured the DenySendExternal as an LDAP Group matching Group Members of the profile DC1 and from the group CN=ExchangeDenySendExternal,OU=EMailFilter,OU=Groups,DC=domain,DC=lan
  6. In the Proxmox Mail Gateway, under Mail Filter I created a new rule (Deny Sending Emails to External Recipients) with Priority: 98, Direction: Out and I activated it
  7. Then in the rule configuration I selected Block as Action Objects and DenySendExternal as From
After this, I still can send emails with my user.

Does anyone have any idea why isn't it working?

Did I do something wrong?

Thanks in advance


  • 1.png
    19.3 KB · Views: 17
  • 2.png
    17.5 KB · Views: 17
  • 3.png
    30.3 KB · Views: 17


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!