1 (edited by mmmherma 2020-12-28 20:34:33)

Topic: Problem updating from 0.9.7 to 1.3.2

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

I am trying to upgrade from iRedMail 0.9.7 (using Ubuntu 18.04 Server) to 1.3.2 (using Ubuntu 20.04 Server).

The installation process is correct, and the restore of vmail and LDAP is also correct. In order to update LDAP y execute the script https://github.com/iredmail/iRedMail/bl … cot-2.3.py

When I try to send a mail y get "SMTP Error (451): Failed to add recipient "<user>@<domain>" (4.3.0 <<user>@<domain>>: Temporary lookup failure).".

Some logs appears at /var/log/maillog telling that:

Dec 28 12:30:19 mail postfix/pickup[2553]: warning: 4D4H2347dxz1HDHd: message has been queued for 1 days
Dec 28 12:30:19 mail postfix/pickup[2553]: 4D4H2347dxz1HDHd: uid=2003 from=<mlmmj>
Dec 28 12:30:19 mail postfix/proxymap[3898]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=xxxx: 53 (Server is unwilling to perform)
Dec 28 12:30:19 mail postfix/cleanup[4997]: warning: proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf lookup error for "mlmmj@mail.<domain>"
Dec 28 12:30:19 mail postfix/cleanup[4997]: warning: 4D4H2347dxz1HDHd: sender_bcc_maps map lookup problem -- message not accepted, try again later
Dec 28 12:30:19 mail postfix/pickup[2553]: warning: maildrop/4D3RzF40MCz1HDHG: error writing 4D4H2347dxz1HDHd: queue file write error

Dovecot logs tells:

Dec 28 11:26:12 mail dovecot: master: Dovecot v2.3.7.2 (3c910f64b) starting up for imap, sieve, lmtp (core dumps disabled)
Dec 28 11:26:23 mail dovecot: stats: Error: conn stats-reader (127.0.0.1:41864): didn't reply with a valid VERSION line: EXPORT#011global
Dec 28 11:26:23 mail dovecot: stats: Error: conn stats-reader (127.0.0.1:41866): didn't reply with a valid VERSION line: EXPORT#011global

I know there are many releases to update at once, but the installer don't let me install older versions.

Thanks in advance and thanks for this awesome project.

----

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

2

Re: Problem updating from 0.9.7 to 1.3.2

mmmherma wrote:

Dec 28 12:30:19 mail postfix/proxymap[3898]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=xxxx: 53 (Server is unwilling to perform)

Is LDAP bind dn + password correct in /etc/postfix/ldap/*.cf?

3

Re: Problem updating from 0.9.7 to 1.3.2

ZhangHuangbin wrote:
mmmherma wrote:

Dec 28 12:30:19 mail postfix/proxymap[3898]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=xxxx: 53 (Server is unwilling to perform)

Is LDAP bind dn + password correct in /etc/postfix/ldap/*.cf?

Hello,

Thanks in advance for your quick response.

I checked the correctness of /etc/postfix/ldap/*.cf and I realised that I have a typo in all those cf files. I have added a 'd' at the end of bind_pw, so it was bind_pwd. I removed this character and the error has gone.

Thanks for your time.