1

Topic: LDAP bad search filter

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.1
- Linux/BSD distribution name and version: CentOs 6.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro?No
- Related log if you're reporting an issue:
Oct 23 12:14:15 mail postfix/smtpd[29110]: connect from mail-ig0-f171.google.com[209.85.213.171]
Oct 23 12:14:17 mail postfix/smtpd[29110]: 0011F551CF: client=mail-ig0-f171.google.com[209.85.213.171]
Oct 23 12:14:17 mail postfix/proxymap[29111]: warning: dict_ldap_lookup: Search error -7: Bad search filter
Oct 23 12:14:17 mail postfix/cleanup[29113]: 0011F551CF: message-id=<CAPWVjosvH81w2qiu_OrLNj7c3-UNZ5hR17Cmcc9OQLtm4vMEgQ@mail.gmail.com>
Oct 23 12:14:25 mail postfix/qmgr[27846]: 0011F551CF: from=<agencija.murix@gmail.com>, size=5677139, nrcpt=1 (queue active)

====

I found this error in my log and i couldn't find error in configuration. Recently i updated iredmail related to official tutorials.

I have one more question related to php. My current version is php 5.3.3 release 46. I want to upgrade it to version compatible with Roundcubemail 1.1.x where php must be 5.3.7 or greater.
First, how can i do that (what repo)?
Second, if I upgrade with new version what is the compatibility with other components of iredmail (postfix,dovecot). Will everything work after upgrade?
Thanks for answers

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: LDAP bad search filter

gotanbl wrote:

Oct 23 12:14:17 mail postfix/proxymap[29111]: warning: dict_ldap_lookup: Search error -7: Bad search filter

Then check all ldap lookup files under /etc/postfix/ldap/.

gotanbl wrote:

I have one more question related to php. My current version is php 5.3.3 release 46. I want to upgrade it to version compatible with Roundcubemail 1.1.x where php must be 5.3.7 or greater.
First, how can i do that (what repo)?

Roundcube 1.1.3 should work with php 5.3.3, i suggest you test it with a virtual machine.

gotanbl wrote:

Second, if I upgrade with new version what is the compatibility with other components of iredmail (postfix,dovecot). Will everything work after upgrade?

PHP doesn't impact postfix, dovecot. it just impacts PHP web applications.

3

Re: LDAP bad search filter

ZhangHuangbin wrote:
gotanbl wrote:

Oct 23 12:14:17 mail postfix/proxymap[29111]: warning: dict_ldap_lookup: Search error -7: Bad search filter

Then check all ldap lookup files under /etc/postfix/ldap/.

gotanbl wrote:

I have one more question related to php. My current version is php 5.3.3 release 46. I want to upgrade it to version compatible with Roundcubemail 1.1.x where php must be 5.3.7 or greater.
First, how can i do that (what repo)?

Roundcube 1.1.3 should work with php 5.3.3, i suggest you test it with a virtual machine.

gotanbl wrote:

Second, if I upgrade with new version what is the compatibility with other components of iredmail (postfix,dovecot). Will everything work after upgrade?

PHP doesn't impact postfix, dovecot. it just impacts PHP web applications.

http://trac.roundcube.net/wiki/Changelog
Under RELEASE 1.1-beta stands
   Drop support for PHP < 5.3.7
I tested and it didn't work for me. I do some more test.

Thanks for really quick answer
Now i'm going to check files under /etc/postfix/ldap