It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

How can I have the Email Security Gateway look for just the username portion of an email address on my LDAP server?

  • Type: Knowledgebase
  • Date changed: one year ago
Solution #00001701

Scope:
Applies to Email Security Gateway models 300 and higher that are using LDAP for recipient verification, all firmware versions.

Answer:
There is a special LDAP search filter variable, ${recipient_local_part}, that refers to only the username portion of a recipient email address. In other words, if the recipient address is jsmith@domain.com, this variable wil contain jsmith.

If you want the Email Security Gateway to just look up users and validate based on the uid attribute, you could use the following LDAP search filter:

( (uid=${recipient_local_part}))

Or, if you wanted the Barracuda to always look up the user using specific, possibly different domain for the email address, you could enter the desired domain directly into your LDAP search filter:

( (mail=${recipient_local_part}@differentdomain.com))

The LDAP Search Filter field can be found on the Domains > Edit Domain page for each configured domain.

Additional Notes:
For more information on writing custom LDAP filters, see Solution #00001802.

Link to This Page:
https://campus.barracuda.com/solution/50160000000GThMAAW