Skip to content

Commit

Permalink
auth/passdb: Document nologin behavior with lmtp and doveadm
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen authored and cmouse committed Sep 26, 2024
1 parent a60c19b commit 706a8ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const updates = {
ja3_identifier: '2.4.0',
lazy_expunge_namespace: '2.3.0',
ldap_multi_added: '2.4.0',
lmtp_nologin_added: '2.4.0',
lua_auth_init: '2.4.0',
lua_dns_client: '2.4.0',
lua_script_init: '2.4.0',
Expand Down
9 changes: 9 additions & 0 deletions docs/core/config/auth/passdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,15 @@ 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.

::: warning
The `nologin` field is mainly intended for user logins (IMAP, POP3,
ManageSieve). It is ignored with `doveadm`, because the intention is that admin
could still be able to access a disabled user via `doveadm`.

[[changed,lmtp_nologin_added]] The `nologin` field prevents LMTP access now
as long as [[setting,lmtp_proxy,yes]]. However, the `reason` field is ignored.
:::

::: info 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
Expand Down

0 comments on commit 706a8ce

Please sign in to comment.