Hmm, this got me on the right track with how this can be done.  I checked
all the ldap properties of a user account object and found those that
referenced the userid (our AD usernames ARE the same as the email address
username) and found that using mailNickname as the filter as so:

mailNickname=USERNAME

does work for me in my case.  I don't anticipate having secondary email
addresses on my Exchange server, but if that comes around I'll have to
figure something out.

Thanks for the suggestions guys.

Geoff

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Sent: Monday, July 09, 2007 1:34 PM
To: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy
Subject: Re: [Assp-user] Help setting up ASSP LDAP validation

Doug Traylor wrote:
> This works for us:
> 
> LDAP Login
> cn=validuser,cn=Users,DC=ourdomain,DC=com
> 
> LDAP Root container
> cn=users,dc=ourdomain,dc=com
> 
> LDAP Filter for Local Adresses
> (|(userprincipalname=EMAILADDRESS)(mail=EMAILADDRESS))
> 
> We use MS AD and loaded the user's email address field, on the General
tab, 
> with their [EMAIL PROTECTED] address.
> 
> So mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] gets through.
> 
> Maybe Exchange2k7 has something similar?
>

You don't use Exchange I take it. :)

'proxyAddresses' is the proper field to be checking, not 'mail', if you 
are using Exchange according to MS, if you have secondary email 
addresses assigned to the user they will not show up with that filter 
you are using.

'userPrincipalName' is the AD account login. Which personally I would 
not be accepting email for.

Kevin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user
---
[This E-mail scanned for viruses by Declude Virus]




---
[This E-mail scanned for viruses by Declude Virus]


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to