Skip to content

Commit e0629a3

Browse files
sirainencmouse
authored andcommitted
hoto/exim, upgrade: Use auth-legacy socket type for Exim authentication
1 parent 1e7bad4 commit e0629a3

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

docs/howto/sasl/exim.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ auth_mechanisms = plain login
1919
service auth {
2020
...
2121
# SASL
22-
unix_listener auth-client {
22+
unix_listener auth-exim {
23+
# Exim requires legacy auth type until it gets updated
24+
type = auth-legacy
2325
mode = 0660
2426
user = mail
2527
}
@@ -31,15 +33,15 @@ service auth {
3133
dovecot_login:
3234
driver = dovecot
3335
public_name = LOGIN
34-
server_socket = /var/run/dovecot/auth-client
36+
server_socket = /var/run/dovecot/auth-exim
3537
# setting server_set_id might break several headers in mails sent by
3638
# authenticated smtp. So be careful.
3739
server_set_id = $auth1
3840
3941
dovecot_plain:
4042
driver = dovecot
4143
public_name = PLAIN
42-
server_socket = /var/run/dovecot/auth-client
44+
server_socket = /var/run/dovecot/auth-exim
4345
server_set_id = $auth1
4446
```
4547
:::

docs/installation/upgrade/2.3-to-2.4.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,6 @@ setup.
127127

128128
<!-- @include: include/2.4-doveadm.inc -->
129129

130+
<!-- @include: include/2.4-exim.inc -->
131+
130132
<!-- @include: include/2.4-other.inc -->
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
### Exim Authentication
3+
4+
Dovecot authentication protocol changed slightly, which is now causing Exim's
5+
Dovecot authentication to hang. Use the `auth-legacy` listener type to work
6+
around it until Exim supports the updated protocol:
7+
8+
::: code-group
9+
```[dovecot.conf]
10+
service auth {
11+
unix_listener auth-exim {
12+
type = auth-legacy
13+
}
14+
}
15+
```
16+
17+
```[exim.conf]
18+
dovecot_plain:
19+
server_socket = /var/run/dovecot/auth-exim
20+
...
21+
:::

0 commit comments

Comments
 (0)