mailbox_command_maps won't lookup in ldap

This is a discussion on mailbox_command_maps won't lookup in ldap within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi all, I'm using postfix 2.1.5 from debian stable pool and I'm trying to use: mailbox_command_maps = ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-26-2006
fraff
 
Posts: n/a
Default mailbox_command_maps won't lookup in ldap

Hi all,

I'm using postfix 2.1.5 from debian stable pool and I'm trying to use:

mailbox_command_maps = ldap:$config_directory/ldap-command.cf

without success, but

postmap -q visitor ldap:$config_directory/ldap-command.cf

works very well (and returns "/usr/local/bin/mailing.sh")

****** ldap-command.cf ******

server_host = 127.0.0.1
search_base = ou=lists,dc=plouc
query_filter = (cn=%u)
result_attribute = cn
result_filter = /usr/local/bin/mailing.sh

****** ldif ******

dn: cn=visitor,ou=lists,dc=plouc
objectClass: groupOfNames
cn: visitor
member: uid=me,ou=people,dc=plouc

****** slapd logs ******

an 26 15:30:54 debdev slapd[14184]: conn=58 fd=9 ACCEPT from IP=127.0.0.1:33073 (IP=0.0.0.0:389)
Jan 26 15:30:54 debdev slapd[14184]: conn=58 op=0 BIND dn="" method=128
Jan 26 15:30:54 debdev slapd[14184]: conn=58 op=0 RESULT tag=97 err=0 text=
Jan 26 15:30:54 debdev slapd[14184]: conn=58 op=1 SRCH base="" scope=2 deref=0 filter="(?=undefined)"
Jan 26 15:30:54 debdev slapd[14184]: conn=58 op=1 SRCH attr=maildrop
Jan 26 15:30:54 debdev slapd[14184]: conn=58 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=

************************

It seems that behavior has been corrected in version 2.3-20060126 but
I'm not sure I can use it for production.

Any idees ? suggestions ?

thanks.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:16 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0