Hi, I tested and waited for a few updates. But now I am sure. There seems to be a bug somewhere.
After (every) update imap stops immediately. See error messages below (after updating to 3.97-2 gpl).
I spent hours to troubleshoot but couldn't find any problem in the configuration, but then I noticed that everything worked just fine, when I clicked the "apply configuration" button in webmin's dovecot section.
I have to do this after every VM update (since 3.96). any ideas why?
Dec 17 14:23:48 mail dovecot: imap: Error: Authentication server didn't send valid SPID as expected: MECH#011PLAIN#011plaintext Dec 17 14:23:48 mail dovecot: imap: Error: Disconnected from auth server, aborting (client-pid=1838 client-id=1) Dec 17 14:23:48 mail dovecot: imap-login: Internal login failure (pid=1838 id=1) (auth failed, 1 attempts): user=, method=PLAIN, , mpid=1839, TLS Dec 17 14:23:49 mail dovecot: auth: Error: BUG: Authentication client sent unknown handshake command: REQUEST?408420218391?1?c74fc...
Comments
Submitted by JamieCameron on Mon, 12/17/2012 - 19:55 Comment #1
That is very odd, as a Virtualmin update doesn't touch the Dovecot configuration at all.
Was something else perhaps updated at the same time?
Submitted by helpmin on Tue, 12/18/2012 - 01:52 Comment #2
Yes, I agree, very odd. I will wait for 3.98 and test the update again. but so far after every Virtualmin update (since 3.95 or 3.96) I had to press that button.
Submitted by helpmin on Wed, 04/03/2013 - 14:11 Comment #3
I finally figured out the problem
in 10-auth.conf I had the following entry:
auth_mechanisms = plain
but it should have been
auth_mechanisms = plain login
I am pretty sure that I have never changed that file. Maybe a virtualmin update or a "yum update" was buggy?
Submitted by JamieCameron on Wed, 04/03/2013 - 14:31 Comment #4
Virtualmin will never remove
login
from theauth_mechanisms
line .. it only adds it as part of the install process.Submitted by helpmin on Wed, 04/03/2013 - 14:49 Comment #5
Ok, great.
Submitted by helpmin on Wed, 04/03/2013 - 14:49 Comment #6