I've just tried all the variants. user:password user: password user password [email protected] password [email protected]: password [email protected]:password
smtpd reject any auth attempt with the same error. FYI, dovecot works with enc password only when I fill 'user_password' file as below: $ cat /etc/mail/user_password user:password Denis On 3/24/2018 12:38 PM, Teilzeit-Eremit wrote: > Ahoy! > >> I've also tried to auth by username only once in my 'user_password' file: >> $ cat /etc/mail/user_password >> [email protected]:$2b$EncryptedPasswordKey:::::: >> >> and when 'user_password' has only 'user' field. >> >> $ cat /etc/mail/user_password >> user:$2b$EnctypedPasswordKey:::::: > > I believe, I found your problem: opensmtpd expects username and hash > separated by whitespaces. > > table(5) says: >> In a listener context, the credentials are a mapping of username and >> encrypted passwords: >> >> user1 $2b$10$hIJ4QfMcp.90nJwKqGbKM.MybArjHOTpEtoTV.DgLYAiThuoYmTSe >> user2 $2b$10$bwSmUOBGcZGamIfRuXGTvuTo3VLbPG9k5yeKNMBtULBhksV5KdGsK > >> A mapping will be written with each key and value on a line, whitespaces >> separating both columns: >> >> key1 value1 >> key2 value2 >> key3 value3 >> > > Hope this helps, > > Dominik Mies > > > > -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
