IMAP ALERT on reason/nologin

Pedro Ribeiro pribeiro at net.ipl.pt
Wed Jul 22 21:08:29 EEST 2020


Hello everyone,

Some dovecot versions (years!) ago. I've made a rather complicated SQL 
query that verified some conditions during the SQL passdb checking and 
returned the usual parameters or "nologin" field signalling some account 
problem and a text on the "reason" field that were shown to the user 
telling him the reason of being rejected the login.

Common "reasons" are blocked accounts, suspected brute-force to the user 
account, historic problems from his IP address, etc.

In the current versions I've found that despite the attributes being set 
by the SQL query, dovecot no longer seems to signal that to the client 
application and it ends with some generic "wrong password" causing a lot 
of confusion and user complains.

I can't find any reference to that (nologin/reason) logic in the current 
Dovecot documentation.

Is this feature deprecated/removed?

Were that logic changed and documented elsewhere?

regards! stay safe!

Note: running Dovecot 2.3.10.1

-- 
Best regards,

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Pedro Ribeiro
Politécnico de Lisboa, Serviços da Presidência
Departamento de Sistemas de Informação e Comunicações
Phone:   +351 210 464 700 (general) / VoIP: 80100
Helpdesk: helpdesk at net.ipl.pt / https://www.net.ipl.pt
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


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


More information about the dovecot mailing list