Re: LDAP query not working

2014-10-27 Thread Viktor Dukhovni
On Mon, Oct 27, 2014 at 02:42:38PM +0100, Gabor Lenart wrote: > On Mon, Oct 27, 2014 at 08:13:10AM -0500, Chad M Stewart wrote: > > query_filter = (&(ObjectClass=dNSDomain)(dc=%2)) > [...] > > [root@mta03 /opt/local/etc/postfix]# postmap -v -q balius > > ldap:/opt/local/etc/postfix/ldap_virtual_m

Re: LDAP query not working

2014-10-27 Thread Gabor Lenart
Hi, On Mon, Oct 27, 2014 at 08:13:10AM -0500, Chad M Stewart wrote: > query_filter = (&(ObjectClass=dNSDomain)(dc=%2)) [...] > [root@mta03 /opt/local/etc/postfix]# postmap -v -q balius > ldap:/opt/local/etc/postfix/ldap_virtual_mailbox_domains.cf I guess, since you used %2 in the query_filter,

LDAP query not working

2014-10-27 Thread Chad M Stewart
I'm setting up LDAP to be used by Postfix, Dovecot, etc. for mail and other stuff. I'm not understanding why postfix is failing to find the virtual domain in question. I've got Dovecot setup and working against it, at least for authentication at this point. [root@mta03 /opt/local/etc/postfix