• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 960
  • Last Modified:

LDAP - aditional email addresses

Hi,

We have just installed a new mail filtering solution which is able to get its addresses from LDAP. The query feature allows you to select an OU or group and choose what to search for.

An example is as follows:

Target DN for sync :      OU=Users,DC=domain,DC=com
Scope :       Recurse Tree
Filter to Apply :      objectclass=*
Attributes to Retrieve :      mail

The above works, and gives a list of all users email addresses. Some users however have and use multiple email addresses. For example they will have firstname.surname@domain.com and may also have fsurname@domain.com.

With email is sent fsurname@domain.com is not verified by the above query as its not the primary address.

After some investigation I have found that proxyAddresses will give a full list of SMTP addresses. This includes "smtp:" which is irrelevant and stops an address from being verified.

Is there a way to make this produce a list of email addresses, excluding all the extra goodies?

Thanks in advance
0
itinfserv
Asked:
itinfserv
  • 5
  • 2
1 Solution
 
Chris DentPowerShell DeveloperCommented:

Not with a simple LDAP query, the program would have to be able to deal with stripping off the irrelevant parts.

Is it MIMESweeper? That's been around for ages, I'd be rather surprised if it wasn't able to deal with it. But I guess you already tried with little success?

Chris
0
 
Chris DentPowerShell DeveloperCommented:

If the program can't cope, it would be possible to have a script export all of the addresses for you. If we can just find a way to get that list into the mail system with little or no effort :)

Chris
0
 
itinfservAuthor Commented:
Hi Chris,

Its the new MimeSweeper appliance, they have come up with running off Linux. In theory it should be able to do it, but I have had little success. Information in my original post contains all the options available through the interface.

Thanks
Chris
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
Chris DentPowerShell DeveloperCommented:
0
 
Chris DentPowerShell DeveloperCommented:

There's very little information I can find for the validation process unfortunately.

Their documentation only includes "mail" as the example. It surprises me, Exchange with it's current address format / storage has been around for almost 10 years now and has number in the most heavily used corporate mail systems if it isn't the most heavily used.

Do you have a support agreement with it? I strongly suggest contacting them because it doesn't look like any search I do is going to be useful. Unfortunately it isn't possible to fix this issue within the ldap filter, it must be overcome by the import process, or a different process would have to be used.

If it gets really desperate we could always sync the addresses to an ADAM / LDS instance then have MimeSweeper pull from that. Way more complex than desirable though.

Chris
0
 
itinfservAuthor Commented:
They are looking into atm, when I spoke to their support guy he was confused (surprise). Its being taken up with people higher in the chain, but Im not confident I will get a valid responce from them. Hence posting here.

Hopefully its fixed in another release but we will have to see
0
 
Chris DentPowerShell DeveloperCommented:

Pretty silly... I hope they come back with something concrete, I'm sorry I haven't been able to provide anything useful.

Chris
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now