testsuite: abstract out common conf settings
[exim.git] / test / confs / 3465
CommitLineData
6c512171
PH
1# Exim test configuration 3465
2
3HOSTS_AVOID_TLS=
4
d4dc049f
JH
5.include DIR/aux-var/tls_conf_prefix
6
6c512171 7primary_hostname = myhost.test.ex
6c512171
PH
8
9# ----- Main settings -----
10
11acl_smtp_rcpt = accept
12
13domainlist local_domains = test.ex
14
15log_selector = +smtp_no_mail
16
17queue_only = true
18
19tls_advertise_hosts = *
20tls_certificate = DIR/aux-fixed/cert1
21tls_privatekey = DIR/aux-fixed/cert1
22
23
24# ----- Authenticators -----
25
26begin authenticators
27
28plain:
29 driver = plaintext
30 public_name = PLAIN
31 server_condition = "\
32 ${if and {{eq{$2}{userx}}{eq{$3}{secret1}}}{yes}{no}}"
33 server_set_id = $2
8359d7da 34 client_condition = ${if !eq {$tls_out_cipher}{}}
6c512171
PH
35 client_send = ^userx^secret1
36
37login:
38 driver = plaintext
39 public_name = LOGIN
40 server_prompts = User Name : Password
41 server_condition = "\
42 ${if and {{eq{$auth1}{usery}}{eq{$auth2}{secret2}}}{yes}{no}}"
43 server_set_id = $auth1
44 client_send = : usery : secret2
45
46
47# ----- Routers -----
48
49begin routers
50
51r1:
52 driver = accept
53 transport = t1
54
55
56# ----- Transports -----
57
58begin transports
59
60t1:
61 driver = smtp
62 hosts = 127.0.0.1
63 port = PORT_D
64 hosts_avoid_tls = HOSTS_AVOID_TLS
610ff438 65 tls_try_verify_hosts = :
6c512171
PH
66 hosts_require_auth = *
67 allow_localhost
68
35aba663
JH
69 # These can be made visible by adding "-d-all+deliver+transport+tls" to the script 1st queuerun
70 headers_add = X-tls-cipher: <$tls_cipher>
71 headers_add = X-tls-out-cipher: <$tls_out_cipher>
72
6c512171
PH
73
74# End