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

sametileli

Member
Aug 25, 2020
23
1
8
38
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: