Tests compat. setgid failure / dropped_privilege
[exim.git] / test / confs / 2004
1 # Exim test configuration 2004
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 acl_smtp_rcpt = check_recipient
15 hostlist tls_hosts = 127.0.0.1
16
17 queue_only
18 queue_run_in_order
19
20 tls_certificate = DIR/aux-fixed/cert1
21 tls_privatekey = DIR/aux-fixed/cert1
22
23 tls_advertise_hosts = 127.0.0.1 : HOSTIPV4
24
25 # ----- ACL -----
26
27 begin acl
28
29 check_recipient:
30   deny    hosts = +tls_hosts
31           message = encryption required
32          !encrypted = *
33   accept
34
35
36 # ----- Routers -----
37
38 begin routers
39
40 abc:
41   driver = accept
42   retry_use_local_part
43   transport = local_delivery
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 local_delivery:
51   driver = appendfile
52   file = DIR/test-mail/$local_part
53   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
54   user = CALLER
55
56 # End