debian experimental exim-daemon-heavy config
[exim.git] / test / confs / 2009
CommitLineData
afda344b
PH
1# Exim test configuration 2009
2
3SERVER =
4
d4dc049f
JH
5.include DIR/aux-var/tls_conf_prefix
6
afda344b 7primary_hostname = myhost.test.ex
afda344b
PH
8
9# ----- Main settings -----
10
11acl_smtp_rcpt = check_recipient
12hostlist tls_hosts = 127.0.0.1
13
14queue_only
15queue_run_in_order
16
17tls_advertise_hosts = *
18
19# Set certificate only if server
20
21tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
23
24
25
26# ----- ACL -----
27
28begin acl
29
30check_recipient:
31 deny hosts = +tls_hosts
32 message = encryption required
33 !encrypted = *
34 accept domains = +local_domains
35 deny message = relay not permitted
36
37
38# ----- Routers -----
39
40begin routers
41
42client:
43 driver = accept
44 condition = ${if eq {SERVER}{server}{no}{yes}}
45 retry_use_local_part
46 transport = send_to_server
47
48
49# ----- Transports -----
50
51begin transports
52
53send_to_server:
54 driver = smtp
55 allow_localhost
56 hosts = 127.0.0.1
afda344b 57 port = PORT_D
277b9979
JH
58 hosts_try_fastopen = :
59 hosts_avoid_tls = 127.0.0.1
afda344b
PH
60
61# End