Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error

2012-03-16 Thread Ismail YENIGUL
Hi Nicolas, First of all new patch is qmail-ldap-1.03-20120221.patch not qmail-ldap-1.03-20060201.patch I compiled both patch on FreeBSD Linux without any problem. Can you please post here exact output and ldap ldiff about dom...@ejemplo.org Did you verify that control/ldap* settings are

Re: qmail-ldap mail looping issue with bigbrother

2012-03-16 Thread Ismail YENIGUL
Hi Mario, I made a test and confirm that the problem you report is exist if you use alias as a target. The solution is add two line for supp...@example.com like following: # cat bigbrother supp...@example.com:us...@example.com supp...@example.com:us...@example.com Thanks Ismail YENIGUL

Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error

2012-03-16 Thread Nicolas de Bari Embriz Garcia Rojas
Hi, sorry for the confusion, I mean qmail-ldap-1.03-20120221.patch. Also I do not think it is an issue with the control/ldap settings since with the past versions 20120221 the qmail-ldaplookup works fine, I think something is missing/broken on qldap-filter.c. What I am doing for testing

Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error

2012-03-16 Thread Ismail YENIGUL
Hi Nicolas, I am also using qmail-ldap-1.03-20120221.patch without extra patch (just small fix about auth_dovecot sent by Claudio) It does not report any error for qmail-ldaplookup. Are you applying domainalias patch to qmail-ldap-1.03-20120221.patch? This patch is already exist in

Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error

2012-03-16 Thread Nicolas de Bari Embriz Garcia Rojas
Hi, I am not applying the domain alias patch, I am only using qmail-ldap-1.03-20120221.patch (no extra patches) that is why I mention that I think the problem is with qldap-filter.c or either qmail-ldap in the way the 'domain alias' patch was applied on this release to support domain aliasing.

Re: Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error

2012-03-16 Thread ismail . yenigul
Hi -- orijinal mesaj -- Found 4 entries: Uh-oh: multiple entries found but should be unique! I think something wrong with your ldap records. This error occurs usually when you define the same mail/mailalternate address for the different user. Please check your ldap entries. -ismail On Fri, Mar

Re: Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error

2012-03-16 Thread Nicolas de Bari Embriz Garcia Rojas
There is something else missing, I am sure, that it is not an issue with the ldap entries. this is the full ldap I am using for testing, as you can notice it as only 1 user: --- dn: dc=lab,dc=inbox,dc=im dc: lab objectClass: top objectClass: domain objectClass: domainRelatedObject

Re: Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error

2012-03-16 Thread Nicolas de Bari Embriz Garcia Rojas
I think I have found the problem. but need some help fixing the code For some reason the qldap-filter.c is not adding the /var/qmail/control/ldapobjectclass There is a method call 'filter_objectclass' on version qmail-ldap-1.03-20060201.patch the one is called after filtering by (uid/mail) and

Re: Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error

2012-03-16 Thread Claudio Jeker
On Fri, Mar 16, 2012 at 08:26:55PM +, Nicolas de Bari Embriz Garcia Rojas wrote: I think I have found the problem. but need some help fixing the code For some reason the qldap-filter.c is not adding the /var/qmail/control/ldapobjectclass ... thanks for the detailed report. I was able

Re: Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error

2012-03-16 Thread Nicolas de Bari Embriz Garcia Rojas
Hi, thanks for the reply, I applied the patch and it is working now. Changing a little the topic, I modified qmail-qmqpc.c for supporting multiple qmpqc servers ( one server per line in DIR/qmqpservers/0), but would like to know your feed back about it. the patch: