13 Nov
2019
13 Nov
'19
11 p.m.
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@fastmail and worked ok.
How can i have the same with dovecot SASL? Thanks in advanced,