LDAP: Check for errors of TLS initialisation
[users/heiko/exim.git] / test / confs / 0043
1 # Exim test configuration 0043
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 domainlist local_domains = exim.test.ex
14
15 acl_smtp_rcpt = check_recipient
16 log_selector = +smtp_incomplete_transaction
17 qualify_domain = exim.test.ex
18
19
20 # ----- ACL -----
21
22 begin acl
23
24 check_recipient:
25   accept  hosts = :
26   require verify = sender
27   deny    message = unrouteable address
28          !verify = recipient
29   accept  domains = +local_domains
30   deny    message = relay not permitted
31
32
33
34 # ----- Routers -----
35
36 begin routers
37
38 fail_remote_domains:
39   driver = redirect
40   domains = ! +local_domains
41   data = :fail: unrouteable mail domain "$domain"
42
43 system_aliases:
44   driver = redirect
45   allow_defer
46   allow_fail
47   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
48   retry_use_local_part
49
50 localuser:
51   driver = accept
52   local_parts = userx
53   transport = local_delivery
54
55
56 # ----- Transports -----
57
58 begin transports
59
60 local_delivery:
61   driver = appendfile
62   delivery_date_add
63   envelope_to_add
64   file = DIR/test-mail/$local_part
65   return_path_add
66   user = CALLER
67
68 # End