Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-04-2010, 04:10 PM
Intermediate Member
 
Posts: 23
Default Query GAL from Clearswift e-mail gateway

Hi,

We use an appliance from Clearswift to scan all inbound/outbound e-mail for a variety of things. One feature it offers is to sync with the e-mail LDAP as part of it's anti-spam, by only allowing registered e-mail addresses.

Right now I maintain that list manually.

Am I able to query the Zimbra LDAP to get a return of valid e-mail addresses? Can someone point me in the direction of the correct LDAP query to issue?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 12-06-2010, 03:31 AM
Moderator
 
Posts: 2,207
Default

This query should work (I got it in the forum, it works with postfix):
Code:
(&(|(zimbraMailDeliveryAddress=%s)(zimbraMailAlias=%s(zimbraMailCatchAllAddress=%s))(zimbraMailStatus=enabled))
You can filter the results to these attributes:
Code:
zimbraMailDeliveryAddress,zimbraMailAlias
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.