blob: 61483569f0d2fac9511ab3ef34b769417a7a076e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Exim test configuration 3825
SERVER=
.include DIR/aux-var/std_conf_prefix
primary_hostname = myhost.test.ex
# ----- Main settings -----
acl_smtp_rcpt = accept
queue_only
begin routers
client_r:
driver = accept
condition = ${if !eq {SERVER}{server}}
transport = smtp
begin transports
smtp:
driver = smtp
hosts = 127.0.0.1
allow_localhost
port = PORT_D
hosts_require_auth = *
# ----- Authentication -----
begin authenticators
.ifndef OPT
sasl1:
driver = plaintext
public_name = PLAIN
server_prompts = :
server_condition = ${if and {{eq{$auth2}{ph10}}{eq{$auth3}{mysecret}}}}
server_set_id = $auth2
sasl2:
driver = gsasl
public_name = PLAIN
client_condition = ${if eq {plain}{$local_part}}
client_username = ph10
client_password = mysecret
.else
sasl3:
driver = gsasl
public_name = PLAIN
server_condition = ${if and {{eq{$auth1}{ph10}}{eq{$auth3}{mysecret}}}}
server_set_id = $auth1
sasl4:
driver = plaintext
public_name = PLAIN
client_condition = ${if eq {plain}{$local_part}}
client_send = ^ph10^mysecret
.endif
# End
|