Ahoy!

> I've also tried to auth by username only once in my 'user_password' file:
> $ cat /etc/mail/user_password
> u...@domain.com:$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 misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to