Hi,

i also use table_ldap. However i use a slightly patched version
(https://marc.info/?l=opensmtpd-misc&m=142506912505805&w=2), because
if i remember correctly Exchange will close idle connections and
table_ldap as it is won't recover from it.

/etc/mail/ldap_pdc.conf
url                  ldap://x.x.x.x
username             
CN=yyy,OU=Dienstekonten,OU=Users,OU=MyBusiness,DC=example,DC=com
password             zzz
basedn               OU=MyBusiness,DC=example,DC=com
mailaddr_filter      
(&(proxyAddresses=smtp:%s)(|(objectClass=user)(objectClass=group)))
mailaddr_attributes  mail


> Hi,


> While I have a nice edge server now that handles inbound spam/av
> using OpenSMTPd, Spam Assassin and ClamAV, I want the OpenSMTPd
> server to validate legitimate email addresses on initial connection
> before accepting, processing, and relaying them onto the primary
> Microsoft Exchange Servers.  Now I have seen some examples (over on
> undeadly) of LDAP to an openldap instance but don't think that will
> work in this case?  AD does present and permit LDAP lookups and
> provides 'proxyaddresses' of smtp addresses associated to the users
> accounts but I don't think there is any facility (that I could find)
> to perform this for each connection (similar to table myaddresses 
> ldap://activedirectory).


> Has anyone solved this or know how to achieve this?  Maybe even a
> script that I can run say every 3 hours, a bit of hackery, uniq and
> a makemap would get me by as well.


> Thanks,


> Jason.


--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to