Merge branch 'experimental_ocsp'
[users/jgh/exim.git] / test / confs / 3408
1 # Exim test configuration 3408
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 qualify_domain = exim.test.ex
14 acl_smtp_rcpt = check_recipient
15 domainlist local_domains = exim.test.ex
16
17
18 # ----- ACL -----
19
20 begin acl
21
22 check_recipient:
23   accept  hosts = :
24   accept  recipients = postmaster@exim.test.ex
25   deny    message = host is listed in $dnslist_domain
26          !authenticated = *
27           dnslists = rbl.test.ex
28   require verify = sender
29   deny    message = unrouteable address
30          !verify = recipient
31   accept  domains = +local_domains
32   deny    message = relay not permitted
33
34
35 # ----- Authentication -----
36
37 begin authenticators
38
39 plain:
40   driver = plaintext
41   public_name = PLAIN
42   server_condition = "\
43     ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
44   server_set_id = $2
45
46
47 # ----- Routers -----
48
49 begin routers
50
51 system_aliases:
52   driver = redirect
53   allow_defer
54   data = ${lookup{$local_part}lsearch{DIR/aux-var/TESTNUM.aliases}}
55   retry_use_local_part
56
57 localuser:
58   driver = accept
59   check_local_user
60   transport = local_delivery
61
62 list:
63   driver = accept
64   local_parts = userx
65   transport = local_delivery
66
67
68 # ----- Transports -----
69
70 begin transports
71
72 local_delivery:
73   driver = appendfile
74   delivery_date_add
75   envelope_to_add
76   file = DIR/test-mail/$local_part
77   return_path_add
78
79 # End