tidying
[exim.git] / test / confs / 2008
CommitLineData
afda344b
PH
1# Exim test configuration 2008
2
3SERVER =
4
d4dc049f
JH
5.include DIR/aux-var/tls_conf_prefix
6
afda344b 7primary_hostname = myhost.test.ex
afda344b
PH
8
9
10# ----- Main settings -----
11
12domainlist local_domains = test.ex : *.test.ex
13
14acl_smtp_rcpt = check_recipient
15log_selector = +tls_peerdn
16queue_only
17queue_run_in_order
18remote_max_parallel = 1
19
20tls_advertise_hosts = *
21
22# Set certificate only if server
23
24tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25
26
27# ------ ACL ------
28
29begin acl
30
31check_recipient:
32 accept domains = +local_domains
33 deny message = relay not permitted
34
35
36# ----- Routers -----
37
38begin routers
39
40client:
41 driver = accept
42 condition = ${if eq {SERVER}{server}{no}{yes}}
43 retry_use_local_part
44 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
45
46server:
47 driver = accept
48 retry_use_local_part
49 transport = local_delivery
50
51
52# ----- Transports -----
53
54begin transports
55
56local_delivery:
57 driver = appendfile
58 file = DIR/test-mail/$local_part
59 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
60 user = CALLER
61
62send_to_server1:
63 driver = smtp
64 allow_localhost
65 hosts = 127.0.0.1
66 port = PORT_D
67 helo_data = helo.data.changed
68
69send_to_server2:
70 driver = smtp
71 allow_localhost
72 hosts = HOSTIPV4
73 port = PORT_D
74
75
76# ----- Retry -----
77
78
79begin retry
80
81* * F,5d,10s
82
83
84# End