SASL AUTH with postfix

Jorge Bastos mysql.jorge at decimal.pt
Wed Nov 13 23:00:43 EET 2019


Hi,

I just moved from Cyrus SASL to Dovecot SASL, with postfix.
Works great, and no issue with non-ascii chars, has i had with Cyrus.

With Cyrus i was getting the username/passwd via SQL, with this:

sql_select: select password from smtp_auth_users where username='%u@%r' and
status='true'

worked ok for users with email addresses, and i had some special users that
were just a name, like "user-1", and i was able to AUTH it.
Postfix had:
smtpd_sasl_local_domain = fastmail

and in the database i had the username in the format: user-1 at fastmail
and worked ok.

How can i have the same with dovecot SASL?
Thanks in advanced,



More information about the dovecot mailing list