[SOLVED] How can we reject emails that are not ldap users to Proxmox MG?

sametileli

Member
Aug 25, 2020
23
1
8
37
Hello friends
I created the ldap settings to Proxmox. but I have a problem like this. I want users who are not in ldap to be denied. For example, a mail is coming, the mail address is contoso@contoso.com. There is no such user in ldap, but mail is accepted. How can I prevent this?
 
Put shortly you have 2 options:
* simply enable recipient verification (GUI->Configuration-> Mail Proxy->Options) - that way postfix will directly reject mails, which it could not send to your downstream servers (this only works if your downstream server answers with 5xx for an unknown address)
* create a fitting rule in the Rulesystem:
** one Who Object which matches : 'Unknown LDAP address, any profile)
** an action of BLOCK

I hope this helps!
 
  • Like
Reactions: sametileli
Thank you, I'm reviewing immediately.
Teşekkür ederim hemen inceliyorum.

edit: thank you my friend... my problem is solved
 
Last edited:

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!