<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>you can add nopassword attribute to the end. See https://wiki.dovecot.org/PasswordDatabase/ExtraFields</div><div><br></div><div><br></div><div id="composer_signature"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">---<div>Aki Tuomi</div><div>Dovecot oy</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: J Doe <general@nativemethods.com> </div><div>Date: 07/07/2018  02:39  (GMT+02:00) </div><div>To: dovecot@dovecot.org </div><div>Subject: Question about password field in passwd-file </div><div><br></div></div>Hello,<br><br>I have a question regarding the password field of the passwd-file [1].<br><br>According to the wiki, the password field assumes a {SCHEME} of CRYPT when the {SCHEME} is not prefixed<br>to this field.<br><br>So, a passwd-file like:<br><br>    user:password: . . .<br><br>… is equivalent to:<br><br>    user:{CRYPT}password: . . .<br><br>Does that mean an example passwd-file with NEITHER {SCHEME} or password, like:<br><br>    user@example.com:: . . . (note no scheme or password specified between colons)<br><br>…means that the user@example.com user does not have any valid crypted password and therefore the<br>user@example.com user cannot be authenticated ?<br><br>For example, if I use doveadm to create a null CRYPT password:<br><br>    $ sudo doveadm pw -s CRYPT -p “” -u user@example.com<br><br>… gives the result:<br><br>    {CRYPT}txR1JRq9140Qk<br><br>… which differs from the example password field having NEITHER {SCHEME} or password, like:<br><br>    user@example.com:: . . .<br><br>… so if I attempt to logon using a null password for user@example.com when nothing is specified in the<br>password field for the passwd-file:<br><br>    /etc/dovecot/passwd<br>        user@example.com:: . . .<br><br>    $ sudo doveadm auth test user@example.com<br>    password:<br>    passdb: user@example.com auth failed <br><br>… it is impossible to logon as user@example.com with ANY PASSWORD and/or a NULL password ?<br><br>Thanks,<br><br>- J<br><br>Sources:<br><br>    [1] https://wiki2.dovecot.org/AuthDatabase/PasswdFile</body></html>