[pfx] Re: Recommended APP to build approved transport recipients from Exhange / AD / LDAP

2023-10-27 Thread patpro--- via Postfix-users
Hello, You will find bellow parts of my script that create a virtual alias map from on premise AD. You’ll have to work on transforming the output yourself (/usr/local/bin/get_exchg_aliases.awk in my script). And you’ll have to tune AD_FILTRE to suit your needs.

[pfx] Re: Recommended APP to build approved transport recipients from Exhange / AD / LDAP

2023-10-26 Thread Viktor Dukhovni via Postfix-users
On Thu, Oct 26, 2023 at 07:46:40PM -0400, Joey J via Postfix-users wrote: > My only concern is if there is as an example a recipient that has literally > 2K email addresses with LDAP/AD, which associates with how much inbound > mail wont that slow down delivery a good amount, and potentially

[pfx] Re: Recommended APP to build approved transport recipients from Exhange / AD / LDAP

2023-10-26 Thread Joey J via Postfix-users
My only concern is if there is as an example a recipient that has literally 2K email addresses with LDAP/AD, which associates with how much inbound mail wont that slow down delivery a good amount, and potentially create a lot of overhead? On Thu, Oct 26, 2023 at 7:42 PM Viktor Dukhovni via

[pfx] Re: Recommended APP to build approved transport recipients from Exhange / AD / LDAP

2023-10-26 Thread Viktor Dukhovni via Postfix-users
On Thu, Oct 26, 2023 at 07:11:23PM -0400, Joey J via Postfix-users wrote: > To confirm, I'm creating the list of valid emails to accept and then > forward and if not in that list reject. No, my advice is to replace the "list" with live LDAP queries to AD, on demand during each SMTP transaction.

[pfx] Re: Recommended APP to build approved transport recipients from Exhange / AD / LDAP

2023-10-26 Thread Joey J via Postfix-users
Thanks Viktor. To confirm, I'm creating the list of valid emails to accept and then forward and if not in that list reject. My question would be, will postfix send off a process to query every so often in order to build the multiple lists, or as each mail is about to be delivered? On Thu, Oct

[pfx] Re: Recommended APP to build approved transport recipients from Exhange / AD / LDAP

2023-10-26 Thread Viktor Dukhovni via Postfix-users
On Thu, Oct 26, 2023 at 06:32:53PM -0400, Wietse Venema via Postfix-users wrote: > > I'm trying to see if someone has a good app to connect to an exchange or > > O365 server either via LDAP or AD to grab all of the legitimate email > > accounts, forwarding accounts and Groups in order to build a

[pfx] Re: Recommended APP to build approved transport recipients from Exhange / AD / LDAP

2023-10-26 Thread Joey J via Postfix-users
Thanks for the response Wietse, I have tried this but many servers won't correctly allow the verification (its turned off) we have even added rules to allow our IP's get the verification, but we end up delivering the message only to then have it rejected which defeats the purpose. Based on the

[pfx] Re: Recommended APP to build approved transport recipients from Exhange / AD / LDAP

2023-10-26 Thread Wietse Venema via Postfix-users
Joey J via Postfix-users: > Hello All, > > I'm trying to see if someone has a good app to connect to an exchange or > O365 server either via LDAP or AD to grab all of the legitimate email > accounts, forwarding accounts and Groups in order to build a > transport_recipients file this way reject