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 08-11-2009, 03:20 AM
Moderator
 
Posts: 7,928
Question [SOLVED] How to retrieve black/white list from LDAP

I have tried the following but do not get anything back ... obviously using the wrong context
Code:
ldapsearch  -h xxxxxxxxxxxxxxx -x -D 'uid=zmpostfix,cn=appaccts,cn=zimbra' -w xxxxxxxxxx '(&(zimbraMailDeliveryAddress=xxxxx@xxxx)(zimbraMailStatus=enabled)(amavisWhitelistSender=zzzzz@zzzzzz))'
What should I be specifying to get back from LDAP whether it is listed or not please
__________________
Reply With Quote
  #2 (permalink)  
Old 08-11-2009, 03:48 AM
Moderator
 
Posts: 7,928
Default

Code:
ldapsearch  -h xxxxxxxx -x -D 'uid=zmpostfix,cn=appaccts,cn=zimbra' -w xxxxxxxx '(&(zimbraMailDeliveryAddress=xxxxx@xxxxxx)(zimbraMailStatus=enabled)(objectClass=amavisAccount)(amavisWhitelistSender=zzzzz@zzzzzzzzz))'
Does not return anything
__________________
Reply With Quote
  #3 (permalink)  
Old 08-11-2009, 05:48 AM
Moderator
 
Posts: 7,928
Default

Oops; use the zmamavis account instead of zmpostfix
__________________
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.