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