NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dovecot 2.2.1x user auth fails on netbsd-7_BETA
Hi again,
On Nov 11, 2014, at 12:59 , Fredrik Pettai <pettai%nordu.net@localhost> wrote:
> Hi,
>
> I noticed this thread you started earlier this year on the dovecot mailing list:
> http://dovecot.org/pipermail/dovecot/2014-April/095690.html
>
> Then I installed dovecot from pkgsrc with default (+SSL enabled) configuration, I see the same behaviour on a netbsd-7_BETA.
> Output from doveconf -n on my installation:
>
> […]
> passdb {
> driver = passwd
> }
> protocols = imap lmtp
> ssl_ca = /etc/openssl/certs/CAcertClass3Root.pem
> ssl_cert = </etc/openssl/certs/wildcard.pettai.se.pem
> ssl_key = </etc/openssl/private/wildcard.pettai.se.key
> userdb {
> driver = passwd
> }
>
> What kernel version did you upgrade to then it stopped working for you?
> Did you manage to resolve this problem by changing the dovecot configuration, or did you simply back-out your new kernel?
>
> According to the dovecot author, he replies this to a Linux user with the same issue:
>
> "You have misconfigured Dovecot's auth sockets. Providing doveconf -n output would help figuring out the problem.
> Or just delete all the auth-related socket settings from config files and it should work."
Well, dovecot seems to be able to auth internally at least:
bash-4.3# doveadm auth test testuser2
Password:
passdb: testuser2 auth succeeded
extra fields:
user=testuser2
But then again, then I try to use Thunderbird, it fails same as you described it:
Nov 11 14:17:07 testserv2 dovecot: auth: Error: BUG: Authentication client sent unknown handshake command: REQUEST?1849032705?14841?1?9e7714b42956de9d6b444d9846106cc7?session_pid=14128...
Nov 11 14:17:07 testserv2 dovecot: imap: Error: Authentication server didn't send valid SPID as expected: MECH PLAIN plaintext
Nov 11 14:17:07 testserv2 dovecot: imap: Error: Disconnected from auth server, aborting (client-pid=14841 client-id=1)
Nov 11 14:17:07 testserv2 dovecot: imap-login: Internal login failure (pid=14841 id=1) (internal failure, 1 successful auths): user=<testuser2>, method=PLAIN, rip=213.114.239.xxx, lip=193.10.xxx.yyy, mpid=14128, TLS, session=<l8ORGJUHqQDVcu/z>
btw. I also forgot to ask what version of NetBSD kernel/userland you used before, then dovecot (auth) worked?
Re,
/P
Home |
Main Index |
Thread Index |
Old Index