1

Topic: Can't login after a fresh new install

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.5.1 OPENLDAP edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 11.2
- 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.
====

Hi,
After a fresh install on fresh Debian, I can't login to iredadmin or Sogo with postmastrer account.
I used login and password found on tips files.
I re-install 2 times with different passwords to check. Something's wrong...

I found errors/warnings :

==> /var/log/nginx/access.log <==
<MyIPAdress> - - [18/Jan/2022:09:21:57 +0000] "POST /iredadmin/login HTTP/2.0" 303 0 "https://mail.<MyDomain>/iredadmin/login?msg=INVALID_CREDENTIALS" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko/20100101 Firefox/96.0"
<MyIPAdress> - - [18/Jan/2022:09:21:58 +0000] "GET /iredadmin/login?msg=INVALID_CREDENTIALS HTTP/2.0" 200 1343 "https://mail.<MyDomain>/iredadmin/login?msg=INVALID_CREDENTIALS" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko/20100101 Firefox/96.0

Jan 18 09:21:57 mail mariadbd[966]: 2022-01-18  9:21:57 119 [Warning] Aborted connection 119 to db: 'iredadmin' user: 'iredadmin' host: 'localhost' (Got an error reading communication packets)
Jan 18 09:21:58 mail mariadbd[966]: 2022-01-18  9:21:58 120 [Warning] Aborted connection 120 to db: 'iredadmin' user: 'iredadmin' host: 'localhost' (Got an error reading communication packets)

----

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

2

Re: Can't login after a fresh new install

Please add this line in "[mysqld]" section in /etc/mysql/my.cnf, restart mariadb service and try again:

log_warnings = 1