1 (edited by Mohye 2018-11-23 05:43:02)

Topic: no mail no webmail / PB LDAP

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 OPENLDAP edition.
- Linux/BSD distribution name and version: Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No

Hello,
this morning all was ok, then this afternoon... no modifications was made since 09/2018

postfix/smtpd[6538]: Anonymous TLS connection established from mx01-out.cloud.vadesecure.com[217.74.103.251]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Nov 22 20:08:52 courrier postfix/proxymap[6539]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=*********,dc=****,dc=**: 49 (Invalid credentials)
Nov 22 20:08:52 courrier postfix/trivial-rewrite[6540]: warning: proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf lookup error for "*"
Nov 22 20:08:52 courrier postfix/proxymap[6539]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=************,dc=****,dc=**: 49 (Invalid credentials)
Nov 22 20:08:52 courrier postfix/trivial-rewrite[6540]: warning: proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf lookup error for "*"
Nov 22 20:08:52 courrier postfix/proxymap[6539]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=***********?,dc=****,dc=**: 49 (Invalid credentials)
Nov 22 20:08:52 courrier postfix/trivial-rewrite[6540]: warning: virtual_mailbox_domains: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf: table lookup problem
Nov 22 20:08:52 courrier postfix/trivial-rewrite[6540]: warning: virtual_mailbox_domains lookup failure
Nov 22 20:08:52 courrier postfix/proxymap[6539]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=**********,dc=******,dc=**: 49 (Invalid credentials)
Nov 22 20:08:52 courrier postfix/trivial-rewrite[6540]: warning: virtual_mailbox_domains: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf: table lookup problem
Nov 22 20:08:52 courrier postfix/trivial-rewrite[6540]: warning: virtual_mailbox_domains lookup failure
Nov 22 20:08:52 courrier postfix/proxymap[6539]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=************,dc=*****,dc=**: 49 (Invalid credentials)
Nov 22 20:08:52 courrier postfix/trivial-rewrite[6540]: warning: virtual_mailbox_domains: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf: table lookup problem
Nov 22 20:08:52 courrier postfix/trivial-rewrite[6540]: warning: virtual_mailbox_domains lookup failure

Can you help me ?

Thx in advance

2

Re: no mail no webmail / PB LDAP

Mohye wrote:

Nov 22 20:08:52 courrier postfix/proxymap[6539]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=*********,dc=****,dc=**: 49 (Invalid credentials)

It means files under /etc/postfix/ldap/*.cf contains invalid password for 'cn=vmail,dc=xx,dc=xx'.
Did you change its password in LDAP?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: no mail no webmail / PB LDAP

Hi,
thanks for your help.

can you give me the process for newbies to change the password in LDAP ?

I solved the issue by forcing renew of letsencrypt certificate while it was valid 01/2019...

4

Re: no mail no webmail / PB LDAP

Mohye wrote:

can you give me the process for newbies to change the password in LDAP ?

1: Try to get the vmail password from /etc/postfix/ldap/*.cf. Generate a SSHA password with command 'slappasswd'.
2: Install package "ldapvi", connect to LDAP server with command "ldapvi".
3: Find LDAP object "cn=vmail,dc=xx,dc=xx", change its password to the one you found from /etc/postfix/ldap/*.cf.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee