can't authenticate

Christian Mack christian.mack at uni-konstanz.de
Thu Jan 27 12:23:22 UTC 2022


Hello

Did the password hash algorithm change between devuan 3 and 4?
You can check that in your /etc/shadow file.
The start of the password field should be the same something like $6$...


Kind regards,
Christian Mack

On 27.01.22 13:14, David Matthews wrote:
> hi Christian
> 
> Same user and password on both machines, users with shell accounts; exactly the same; in fact I'm struggling to see anything different that might be relevant. On one machine dovecot just works on the other, it stopped working after a dist-upgrade.
> 
> One machine (where it works) is a debian 11 VPS, the other is real PC hardware running devuan 4, but their dovecot is a debian package. I can't see why either of that should matter and dovecot also just worked on the PC with devuan 3.
> 
> I've tried purging dovecot-core and dovecot-imapd and reinstalling to no effect.
> 
>>
>>   1. Re: can't authenticate (Christian Mack)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 27 Jan 2022 11:42:22 +0100
>> From: Christian Mack >christian.mack at uni-konstanz.de>
>> To: dovecot at dovecot.org
>> Subject: Re: can't authenticate
>> Message-ID: >a2fbca25-75c7-4e19-a084-5e8d4d8cc645 at uni-konstanz.de>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hello
>>
>>> passdb {
>>>   driver = pam
>>> }
>>
>> Is user fred defined on your development machine?
>> Does the password match the one from the production machine?
>>
>>
>> Kind regards,
>> Christian Mack
>>
>> On 26.01.22 21:14, David Matthews wrote:
>>> My live mail exchanger and development machines have identical dovecot setups, yet I cannot login on the development machine:-
>>>
>>> dovecot --version
>>> 2.3.13 (89f716dc2)
>>>
>>>> telnet localhost 143
>>> Trying 127.0.0.1...
>>> Connected to bulawayo.
>>> Escape character is '^]'.
>>> * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN] Dovecot (Debian) ready.
>>> a login fred xxxxxxxxxxx
>>> a NO [UNAVAILABLE] Temporary authentication failure. [bulawayo:2022-01-26 20:02:14]
>>>
>>> same if I try openssl s_client to 993
>>>
>>>> tail /var/log/mail.log
>>> Jan 26 20:03:28 bulawayo dovecot: imap-login: Disconnected (auth service reported temporary failure): user=>fred>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=>1MRorYHWwOp/AAAB>
>>>
>>> doveconf -n
>>> # 2.3.13 (89f716dc2): /etc/dovecot/dovecot.conf
>>> # Pigeonhole version 0.5.13 (cdd19fe3)
>>> # OS: Linux 5.10.0-10-amd64 x86_64 Debian 11.1 
>>> # Hostname: bulawayo
>>> mail_location = mbox:~/mail:INBOX=/var/mail/%u
>>> mail_privileged_group = mail
>>> namespace inbox {
>>>   inbox = yes
>>>   location = 
>>>   mailbox Drafts {
>>>     special_use = \Drafts
>>>   }
>>>   mailbox Junk {
>>>     special_use = \Junk
>>>   }
>>>   mailbox Sent {
>>>     special_use = \Sent
>>>   }
>>>   mailbox "Sent Messages" {
>>>     special_use = \Sent
>>>   }
>>>   mailbox Trash {
>>>     special_use = \Trash
>>>   }
>>>   prefix = 
>>> }
>>> passdb {
>>>   driver = pam
>>> }
>>> protocols = " imap"
>>> service imap-login {
>>>   inet_listener imap {
>>>     port = 143
>>>   }
>>>   inet_listener imaps {
>>>     port = 993
>>>     ssl = yes
>>>   }
>>> }
>>> ssl_cert = >/etc/dovecot/private/dovecot.pem
>>> ssl_client_ca_dir = /etc/ssl/certs
>>> ssl_dh = # hidden, use -P to show it
>>> ssl_key = # hidden, use -P to show it
>>> userdb {
>>>   driver = passwd
>>> }
>>>
>>> --
>>> David Matthews
>>> mail at dmatthews.org
>>>
>>
>>
>> -- 
>> Christian Mack
>> Universit?t Konstanz
>> Kommunikations-, Informations-, Medienzentrum (KIM)
>> Abteilung IT-Dienste Forschung und Lehre
>> 78457 Konstanz
>> +49 7531 88-4416
>>
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: smime.p7s
>> Type: application/pkcs7-signature
>> Size: 5351 bytes
>> Desc: S/MIME Cryptographic Signature
>> URL: >https://dovecot.org/pipermail/dovecot/attachments/20220127/2c510097/attachment-0001.bin>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> dovecot mailing list
>> dovecot at dovecot.org
>> https://dovecot.org/mailman/listinfo/dovecot
>>
>>
>> ------------------------------
>>
>> End of dovecot Digest, Vol 225, Issue 70
>> ****************************************
>>
>>
> 
> --
> David Matthews
> mail at dmatthews.org
> 


-- 
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung und Lehre
78457 Konstanz
+49 7531 88-4416

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5351 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20220127/b7e3518d/attachment.bin>


More information about the dovecot mailing list