summaryrefslogtreecommitdiffstats
path: root/doc/wiki/PasswordDatabase.ExtraFields.NoLogin.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
commitf7548d6d28c313cf80e6f3ef89aed16a19815df1 (patch)
treea3f6f2a3f247293bee59ecd28e8cd8ceb6ca064a /doc/wiki/PasswordDatabase.ExtraFields.NoLogin.txt
parentInitial commit. (diff)
downloaddovecot-upstream.tar.xz
dovecot-upstream.zip
Adding upstream version 1:2.3.19.1+dfsg1.upstream/1%2.3.19.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--doc/wiki/PasswordDatabase.ExtraFields.NoLogin.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/wiki/PasswordDatabase.ExtraFields.NoLogin.txt b/doc/wiki/PasswordDatabase.ExtraFields.NoLogin.txt
new file mode 100644
index 0000000..fa7ea03
--- /dev/null
+++ b/doc/wiki/PasswordDatabase.ExtraFields.NoLogin.txt
@@ -0,0 +1,22 @@
+Nologin extra field
+===================
+
+User isn't allowed to log in even if the password matches. Commonly used with
+<proxying> [PasswordDatabase.ExtraFields.Proxy.txt] and <login referrals>
+[PasswordDatabase.ExtraFields.Host.txt], but may also be used standalone. One
+way to use this would be perhaps:
+
+ * 'nologin=y'
+ * 'reason=System is being upgraded, please try again later.'
+
+Unfortunately many clients don't show the reason to the user at all and just
+assume that the password was given wrong, so it might not be a good idea to use
+this unless the system will be down for days and you don't have a better way to
+notify the users.
+
+Note: if you want to entirely block the user from logging in (i.e. account is
+suspended), with no IMAP referral information provided, you must ensure that
+neither 'proxy' nor 'host' are defined as one of the passdb extra fields. The
+order of preference is:'proxy', 'host', then 'nologin'.
+
+(This file was created from the wiki on 2019-06-19 12:42)