==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.5.0
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====
After upgrading from Ubuntu 20.04 to 22.04 I can't log into Roundcube.
It says "Login failed".
I noticed this when upgrading mlmmjadmin
root@mail:~/mlmmjadmin-3.1.5/tools# bash upgrade_mlmmjadmin.sh
* Detected Linux/BSD distribution: UBUNTU
Install package: python3 python3-pip python3-requests uwsgi-plugin-python3 python3-pymysql
* Found mlmmjadmin: /opt/mlmmjadmin, symbol link of /opt/mlmmjadmin-3.1.2
* Found old config file: /opt/mlmmjadmin/settings.py
* Copying new version to /opt/mlmmjadmin-3.1.5
* Copy /opt/mlmmjadmin/settings.py.
* Removing old symbol link /opt/mlmmjadmin
* Creating symbol link: /opt/mlmmjadmin-3.1.5 -> /opt/mlmmjadmin
* Copy systemd service file.
'/opt/mlmmjadmin/rc_scripts/systemd/debian.service' -> '/lib/systemd/system/mlmmjadmin.service'
Created symlink /etc/systemd/system/multi-user.target.wants/mlmmjadmin.service -> /lib/systemd/system/mlmmjadmin.service.
* mlmmjadmin has been successfully upgraded.
* Restarting service: mlmmjadmin.
* Sync mailing list profiles to SQL/LDAP.
No mailing list found. Abort.
* Upgrading completed.
<<< NOTE >>> If mlmmjadmin doesn't work as expected, please post your issue in
<<< NOTE >>> our online support forum: http://www.iredmail.org/forum/
What does "No mailing list found" mean?
root@mail:/home/mike# tail '/var/log/mail.log'
Feb 4 19:24:32 mail dovecot: auth-worker(868491): Error: conn unix:auth-worker (pid=868487,uid=130): auth-worker<6>: passwd(postmaster@odysseytours.nz): getpwnam() failed: Address family not supported by protocol
Feb 4 19:24:32 mail dovecot: lda(postmaster@odysseytours.nz)<868502><>: Error: auth-master: userdb lookup(postmaster@odysseytours.nz): Auth USER lookup failed
Feb 4 19:24:32 mail dovecot: lda(868502): Fatal: Internal error occurred. Refer to server log for more information.
Feb 4 19:24:32 mail postfix/pipe[868485]: 4P7Jlx72C8z1Dn: to=<postmaster@odysseytours.nz>, orig_to=<root@mail.odysseytours.nz>, relay=dovecot, delay=102211, delays=102211/0.02/0/0.05, dsn=4.3.0, status=deferred (temporary failure. Command output: lda(postmaster@odysseytours.nz): Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied )
Feb 4 19:24:32 mail postfix/pipe[868480]: 4P7kwn0sZcz1bm: to=<postmaster@odysseytours.nz>, orig_to=<root@mail.odysseytours.nz>, relay=dovecot, delay=42264, delays=42264/0.05/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: lda(postmaster@odysseytours.nz): Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied )
Feb 4 19:24:32 mail postfix/pipe[868498]: 4P7GHb4XhXznW: to=<postmaster@odysseytours.nz>, orig_to=<root@mail.odysseytours.nz>, relay=dovecot, delay=108885, delays=108885/0.05/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: lda(postmaster@odysseytours.nz): Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied )
Feb 4 19:24:32 mail dovecot: auth-worker(868504): Error: conn unix:auth-worker (pid=868487,uid=130): auth-worker<1>: passwd(postmaster@odysseytours.nz): getpwnam() failed: Address family not supported by protocol
Feb 4 19:24:32 mail dovecot: lda(postmaster@odysseytours.nz)<868490><>: Error: auth-master: userdb lookup(postmaster@odysseytours.nz): Auth USER lookup failed
Feb 4 19:24:32 mail dovecot: lda(868490): Fatal: Internal error occurred. Refer to server log for more information.
Feb 4 19:24:32 mail postfix/pipe[868488]: 4P7Jlx74KYz1Dq: to=<postmaster@odysseytours.nz>, orig_to=<root@mail.odysseytours.nz>, relay=dovecot, delay=102211, delays=102211/0.02/0/0.06, dsn=4.3.0, status=deferred (temporary failure. Command output: lda(postmaster@odysseytours.nz): Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied )
I tried adding
service stats {
unix_listener stats-reader {
user = vmail
group = vmail
mode = 0660
}
unix_listener stats-writer {
user = vmail
group = vmail
mode = 0660
}
}
to /etc/dovecot/dovecot.conf now it says
Feb 4 20:04:49 mail roundcube: <ihqm485t> IMAP Error: Login failed for postmaster@odysseytours.nz against 127.0.0.1 from 192.168.1.1. Unsupported authentication mechanism. in /opt/www/roundcubemail-1.4.7/program/lib/Roundcube/rcube_imap.php on line 211 (POST /mail/?_task=login&_action=login)
Feb 4 20:04:49 mail dovecot: imap-login: Disconnected: Connection closed (tried to use unsupported auth mechanism): user=<>, method=LOGIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<5mvxadrzqMF/AAAB>
Feb 4 20:04:50 mail roundcube: PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/www/roundcubemail-1.4.7/program/include/rcmail_output_html.php on line 1612
Feb 4 20:06:14 mail roundcube: PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/www/roundcubemail-1.4.7/program/include/rcmail_output_html.php on line 1612
Feb 4 20:06:18 mail dovecot: imap-login: Disconnected: Connection closed (tried to use unsupported auth mechanism): user=<>, method=LOGIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<U8c8b9rzCKV/AAAB>
Feb 4 20:06:18 mail roundcube: <d4n71kmh> IMAP Error: Login failed for info@shesheds.co.nz against 127.0.0.1 from 127.0.0.1. Unsupported authentication mechanism. in /opt/www/roundcubemail-1.4.7/program/lib/Roundcube/rcube_imap.php on line 211 (POST /mail/?_task=login&_action=login)
Feb 4 20:06:19 mail roundcube: PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/www/roundcubemail-1.4.7/program/include/rcmail_output_html.php on line 1612
I tried logging into ireadmin and resetting the password