Re: dict_ldap_lookup: Search error -5

"aslay-acme" <[email protected]> Sat, 14 Feb 2009 10:11:49 +0800
Newsgroups gmane.mail.jamm.user
Message-ID <003001c98e49$998273f0$3435280a@acmew2k>
Hello Andre,

I follow your advice by adding timeout as below :

domains_server_host =3D localhost
domains_timeout =3D 30
domains_search_base =3D o=3Dhosting,dc=3Dpds-malaysia,dc=3Dcom
domains_query_filter =3D
(&(objectClass=3DJammVirtualDomain)(jvd=3D%s)(accountActive=3DTRUE)(delete=
=3DFALSE))
domains_result_attribute =3D jvd
domains_bind =3D no
domains_scope =3D one

The error no longer appear in my maillog.

Just for your info, you are the only one who reply my email and help me to
solve the problem.

I sincerely want to say THANK YOU VERY MUCH for your help


Warmest Regards

Lai








----- Original Message ----- =

From: "Andre Schild" <[email protected]>
To: <[email protected]>
Sent: 13 February, 2009 4:50 PM
Subject: Re: [Jamm-users] dict_ldap_lookup: Search error -5


Hello,

> Thanks for your reply, I am using Fodora4 + postfix + openldap +
> dovecot +
> MailScanner + JAMM
>
> I have checked the ldap logs but nothing special around the time when
> the
> error happens.
>
> Do you know where can I configure my ldap lookup timeout ?

Since it's a postfix timeout, then you will have to set it where you
define
the ldap lookups in postfix. (main.cf)


http://www.postfix.org/ldap_table.5.html


You will have to specify it for each ldap table you use.
Look for every  ?????_server_host =3D <myldapserver> entry
and add each time a ????_timeout =3D 30

Then reload postfix

Andr=E9



----------------------------------------------------------------------------
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Jamm-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jamm-users

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3850 (20090213) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


---------------------------------------------------------------------------=
---
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H