Set mainlog_name and rejectlog_name unconditionally.
[exim.git] / test / confs / 2004
1 # Exim test configuration 2004
2
3 .include DIR/aux-var/tls_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = check_recipient
10 hostlist tls_hosts = 127.0.0.1
11
12 queue_only
13 queue_run_in_order
14
15 tls_certificate = DIR/aux-fixed/cert1
16 tls_privatekey = DIR/aux-fixed/cert1
17
18 tls_advertise_hosts = 127.0.0.1 : HOSTIPV4
19
20 # ----- ACL -----
21
22 begin acl
23
24 check_recipient:
25   deny    hosts = +tls_hosts
26           message = encryption required
27          !encrypted = *
28   accept
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 abc:
36   driver = accept
37   retry_use_local_part
38   transport = local_delivery
39
40
41 # ----- Transports -----
42
43 begin transports
44
45 local_delivery:
46   driver = appendfile
47   file = DIR/test-mail/${bless:$local_part}
48   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
49   user = CALLER
50
51 # End