Hmmm, strange my limits.conf is still default empty. I also reverted back to the orginal dovecot pam.d file, and still the same. Is dovecot indeed then giving this password mismatch on max logins? I have been testing quite a lot lately without noticing this. The only thing I can remember changing recently was enabling shmkey of slapd and tuning settings in nscd.
-----Original Message----- From: Sami Ketola [mailto:sami.ketola@dovecot.fi] Sent: 17 January 2019 13:26 To: Marc Roos Cc: dovecot Subject: Re: Authentication lost within session
On 17 Jan 2019, at 14.19, Marc Roos M.Roos@f1-outsourcing.eu wrote:
Same ip, connection, session happens after a few seconds, all on local
test network.
Sorry I mistakenly overlooked at the ip:s. But anyway that is multiple connections and seems that PAM has some concurrency limit and refuses the third connection Thunderbird opens.
so you probably have pam_limits with maxlogins=2 enabled.
Sami