You can also use %s to expand into service name. See
https://doc.dovecot.org/configuration_manual/config_file/config_variables/
Aki
On 18/01/2020 15:24 Sami Ketola < [email protected]> wrote:
Hi,
can't you just check "account_locked" or similar flag in the password_query and user_query on your sql config?
Sami
On 18 Jan 2020, at 10.30, Oliver Welter < [email protected]> wrote:
Hi All,
I use dovecot (v2.3.4) with a SQL backend for user authentication,passwords arestored in CRAMMD5 format.
My SMTP server uses "doveadm auth" via auth-socket to perform senderauthentification. To shut down SMTP access for hacked passwords I wantto have a dedicated flag in the user database to allow/disallow SMTP fora user withouth disabling his account for IMAP.
So, is there any option to use a separate passdb definition oradditional parameters by either setting this in socket definition of"service auth" or using "-x auth_info"?
TIA
Oliver--Protect your environment - close windows and adopt a penguin!
--- Aki Tuomi
