Displaying 2 results from an estimated 2 matches for "dovecot_usernam".
Did you mean:
dovecot_username
2020 May 22
1
Dovecot passdb and postfix login
...onf is the same one that's used on the functioning IMAP servers, just copied accross to the authenticated relay server:
$ sudo cat /etc/dovecot/local_sql_users.conf
driver = pgsql
connect = host=foo dbname=bar user=secret password=squirrel
default_pass_scheme = ARGON2ID
password_query = select dovecot_username as user,password from get_user('%u')
user_query = select 'vmail' as uid, 'vmail' as gid
iterate_query = select dovecot_username as user from get_users()
2020 May 17
1
"/etc/dovecot/dovecot.conf: passdb is missing driver"
...e-2.3-latest/debian/....).
I have the following in my local.conf :
passdb sql {
? args = /etc/dovecot/local_sql_users.conf
}
And the following in the referenced file:
driver = pgsql
connect = host=localhost dbname=foobar user=bar password=foo
default_pass_scheme = ARGON2ID
password_query = select dovecot_username as user,password from get_user('%u')
iterate_query = select dovecot_username as user from get_users()
So surely it should work ?
doveconf -n just to complete the picture ....
# 2.3.10 (0da0eff44): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.10 (bf8ef1c2)
# OS: Linux 4.19.0-9-amd6...