Skip to content

Commit a1a0724

Browse files
sirainencmouse
authored andcommitted
config/proxy/overview: Split to proxy-auth-methods.inc
1 parent 971e71a commit a1a0724

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
1. Forward the user-given password (or OAUTH token) to the remote server. This
2+
is done by returning `pass=%{password}` and `proxy_mech=%{mechanism}` extra
3+
fields.
4+
5+
* This doesn't work if any non-cleartext, non-token-based
6+
[[link,authentication_mechanisms, authentication mechanisms]] are used,
7+
because they prevent such password forwarding by design.
8+
* `proxy_mech` is needed only if both OAUTH and cleartext mechanisms
9+
are enabled.
10+
11+
1. Let Dovecot proxy perform the authentication and login to remote server
12+
using the proxy's [[link,auth_master_users]]. This allows client
13+
to use also non-cleartext authentication.

docs/core/config/proxy/overview.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,7 @@ Dovecot supports proxying IMAP, POP3, [[link,submission]], [[link,lmtp]],
1717
The proxying can be done for all users, or only for some specific users. There
1818
are two ways to do the authentication on the remote server:
1919

20-
1. Forward the user-given password (or OAUTH token) to the remote server. This
21-
is done by returning `pass=%{password}` and `proxy_mech=%{mechanism}` extra
22-
fields.
23-
24-
* This doesn't work if any non-cleartext, non-token-based
25-
[[link,authentication_mechanisms, authentication mechanisms]] are used,
26-
because they prevent such password forwarding by design.
27-
* `proxy_mech` is needed only if both OAUTH and cleartext mechanisms
28-
are enabled.
29-
30-
1. Let Dovecot proxy perform the authentication and login to remote server
31-
using the proxy's [[link,auth_master_users]]. This allows client
32-
to use also non-cleartext authentication.
20+
<!-- @include: include/proxy-auth-methods.inc -->
3321

3422
## Configuration
3523

0 commit comments

Comments
 (0)