Topic: Login to Sogo Failing after restoring iRedMail to a new server
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Y
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Install a new server for iRedMail and migrated all settings and emails accounts to the new server as per documentatiion found at https://docs.iredmail.org/migrate.to.ne … rver.html.
All services are up and running on the new server except sogo where no user can login. If we create a new user, the new user also cannot login to the Sogo Interface.
Error in /var/log/sogo/sogo.log is:
Apr 05 06:29:59 sogod [5178]: <0x0x563435ba2d80[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Apr 05 06:29:59 sogod [5178]: <0x0x563435ba2d80[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
Apr 05 06:29:59 sogod [5178]: [ERROR] <0x0x563435bcf180[SQLSource]> could not run SQL 'c_uid = 'test@email.com'': <PostgreSQL72Exception: 0x563435bd3170> NAME:PostgreSQL72FatalError REASON:fatal pgsql error (channel=<0x0x563435898de0[PostgreSQL72Channel]: connection=<0x0x563435961e50[PGConnection]: connection=0x0x563435854dc0>>): ERROR: could not establish connection
DETAIL: FATAL: password authentication failed for user "vmail"
FATAL: password authentication failed for user "vmail"
Apr 05 06:29:59 sogod [5178]: <0x0x563435bc7e30[SOGoDAVAuthenticator]> tried wrong password for user 'test@email.com'!
Apr 05 06:29:59 sogod [5178]: 13.89.226.135 "OPTIONS /SOGo/Microsoft-Server-ActiveSync?User=hq.cmt.mu%5Ctest%40hq.cmt.mu&DeviceId=2439037788409952&DeviceType=Outlook HTTP/1.1" 401 12/0 0.023 - - 492K
The password for the user test@email.com is OK as login to web-mail with the same password is fine.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.