From 35108b11e214da32e75cdb84bae7c046976a6fba Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 23 Jan 2024 11:21:07 +0200 Subject: [PATCH] passdb: Update passdb_mechanisms --- .../authentication/password_databases_passdb.rst | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/source/configuration_manual/authentication/password_databases_passdb.rst b/source/configuration_manual/authentication/password_databases_passdb.rst index a0e507324..293633991 100644 --- a/source/configuration_manual/authentication/password_databases_passdb.rst +++ b/source/configuration_manual/authentication/password_databases_passdb.rst @@ -170,13 +170,20 @@ Passdb setting .. dovecot_core:setting:: passdb_mechanisms - :values: @string + :values: @boollist :added: 2.2.30 Skip the passdb, if non-empty and the current auth mechanism is not listed - here. Space or comma-separated list of auth mechanisms (e.g. ``PLAIN LOGIN``). - Also ``none`` can be used to match for a non-authenticating passdb lookup. + here. If the value contains ``none``, it matches for non-authenticating + passdb lookups. Example: + + .. code-block:: none + passdb passwd-file { + driver = passwd-file + mechanisms = PLAIN LOGIN + # ... + } .. dovecot_core:setting:: passdb_username_filter :values: @string