Guard loadable module vars with LOOKUP_MODULE_DIR.
[exim.git] / test / confs / 3455
CommitLineData
6c512171
PH
1# Exim test configuration 3455
2
3HOSTS_AVOID_TLS=
4
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
8rfc1413_query_timeout = 0s
9spool_directory = DIR/spool
10log_file_path = DIR/spool/log/%slog
11gecos_pattern = ""
12gecos_name = CALLER_NAME
13
14# ----- Main settings -----
15
16acl_smtp_rcpt = accept
17
18domainlist local_domains = test.ex
19
20log_selector = +smtp_no_mail
21
22queue_only = true
23
24tls_advertise_hosts = *
25tls_certificate = DIR/aux-fixed/cert1
26tls_privatekey = DIR/aux-fixed/cert1
27
28
29# ----- Authenticators -----
30
31begin authenticators
32
33plain:
34 driver = plaintext
35 public_name = PLAIN
36 server_condition = "\
37 ${if and {{eq{$2}{userx}}{eq{$3}{secret1}}}{yes}{no}}"
38 server_set_id = $2
39 client_condition = ${if !eq {$tls_cipher}{}}
40 client_send = ^userx^secret1
41
42login:
43 driver = plaintext
44 public_name = LOGIN
45 server_prompts = User Name : Password
46 server_condition = "\
47 ${if and {{eq{$auth1}{usery}}{eq{$auth2}{secret2}}}{yes}{no}}"
48 server_set_id = $auth1
49 client_send = : usery : secret2
50
51
52# ----- Routers -----
53
54begin routers
55
56r1:
57 driver = accept
58 transport = t1
59
60
61# ----- Transports -----
62
63begin transports
64
65t1:
66 driver = smtp
67 hosts = 127.0.0.1
68 port = PORT_D
69 hosts_avoid_tls = HOSTS_AVOID_TLS
70 hosts_require_auth = *
71 allow_localhost
72
73
74# End