5 Replies Latest reply on Mar 24, 2014 9:28 AM by jmickley

    valid recipient checks for Domino LDAP - need help

    dtomko

      Hello colleagues,

      i'm trying to setup ldap email authentication against Domino Ldap for inbound mail. Any my main problem with domino's adress book shortnames: in domino address book every user may have so called shortnames and domino accept email for this shortname also, for ex:

       

      user: test_user

      shortname:tuser

      for ex. mail domain:domain.com

      for this configuration domino accepts email for test_user@domain.com as well as for tuser@domain.com.

       

      Now I have following ldap check("valid recipient"):

           (|(cn=%email%)(uid=%email%)(mail=%email%))

      shortname corresponds to uid ldap field, but problem here is that this field contains just shortname(i.e. without domain suffix) while %email% substitution has domain suffix, i.e.:

           uid = tuser

           %email%=tuser@domain.com

      and effectively uid!=%email%, so my question is how to overcome this situation? Do we have another substitutions for part of email before "@", may be %user%, so that I could write something like:

         (|(cn=%email%)(uid=%user%)(mail=%email%))

       

      thanks in advance