Finally beat the problem with auth error on smtpd. The 'user_password' file must be in format: 'user:$2b$EnctypedPasswordKey::::::' to successful auth by OpenSMTPd and Dovecot from one shared encrypted password file.
Seems problem was with ?partially broken? opensmtpd-extras which has table-plain program for reading table(5). After reinstalling it from packages OpenSMTPd successfully auth users from 'user_password file' since than. Thanks for support. Next step is to have working auth, virtuals, and realm from PostgreSQL database. In OpenBSD 6.2 package system opensmtpd-extras-pgsql package replies for PGSQL database connection. Denis On 3/24/2018 2:56 PM, Reio Remma wrote: > > > On 24 Mar 2018, at 12:42, Denis <[email protected] > <mailto:[email protected]>> wrote: > >> I've just tried all the variants. >> >> user:password >> user: password >> user password >> [email protected] <mailto:[email protected]> password >> [email protected] <mailto:[email protected]>: password >> [email protected] <mailto:[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 > >> table user_password file:/etc/mail/user_password > > I may be wrong, but maybe you need to use table-password extra and: > > table user_password passwd:/etc/mail/user_password > > https://github.com/OpenSMTPD/OpenSMTPD-extras/blob/master/extras/tables/table-passwd/table-passwd.5 > > Good luck, > Reio -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
