bugzilla 612 - write recipients list in X-Envelope-To header of MBOX spool file
[exim.git] / test / confs / 2005
1 # Exim test configuration 2005
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
16 domainlist local_domains = test.ex
17 hostlist tls_relay_hosts = 127.0.0.1
18
19 queue_only
20 queue_run_in_order
21
22 tls_advertise_hosts = *
23
24 tls_certificate = DIR/aux-fixed/cert1
25 tls_privatekey = DIR/aux-fixed/cert1
26
27 # ----- ACL -----
28
29 begin acl
30
31 check_recipient:
32   accept  domains = +local_domains
33   accept  hosts = +tls_relay_hosts
34           endpass
35           message = encryption required
36           encrypted = *
37   deny    message = relay not permitted
38
39
40 # ----- Routers -----
41
42 begin routers
43
44 fail_remote_domains:
45   driver = redirect
46   domains = ! +local_domains
47   data = :fail: unrouteable mail domain "$domain"
48
49 abc:
50   driver = accept
51   retry_use_local_part
52   transport = local_delivery
53
54
55 # ----- Transports -----
56
57 begin transports
58
59 local_delivery:
60   driver = appendfile
61   file = DIR/test-mail/$local_part
62   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
63   user = CALLER
64
65 # End