Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 2010 |
2 | ||
3 | SERVER = | |
48da4259 | 4 | TIMES = |
e97957bc | 5 | HOSTS = 127.0.0.1 : HOSTIPV4 |
afda344b | 6 | |
d4dc049f JH |
7 | .include DIR/aux-var/tls_conf_prefix |
8 | ||
afda344b | 9 | primary_hostname = myhost.test.ex |
afda344b PH |
10 | |
11 | # ----- Main settings ----- | |
12 | ||
1a47b633 JH |
13 | log_selector = +outgoing_port |
14 | ||
afda344b PH |
15 | acl_smtp_rcpt = accept |
16 | ||
17 | queue_only | |
18 | queue_run_in_order | |
19 | ||
20 | # Set certificate only if server | |
21 | ||
22 | tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} | |
23 | tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} | |
24 | ||
25 | tls_advertise_hosts = HOSTIPV4 | |
26 | ||
27 | ||
28 | # ----- Routers ----- | |
29 | ||
30 | begin routers | |
31 | ||
32 | client: | |
33 | driver = accept | |
34 | condition = ${if eq {SERVER}{server}{no}{yes}} | |
35 | retry_use_local_part | |
36 | transport = send_to_server | |
37 | ||
38 | ||
39 | # ----- Transports ----- | |
40 | ||
41 | begin transports | |
42 | ||
43 | send_to_server: | |
44 | driver = smtp | |
45 | allow_localhost | |
e97957bc | 46 | hosts = HOSTS |
afda344b PH |
47 | hosts_require_tls = * |
48 | port = PORT_D | |
49 | ||
e97957bc PH |
50 | |
51 | # ----- Retry ----- | |
52 | ||
53 | begin retry | |
54 | ||
48da4259 | 55 | * tls_required TIMES |
e97957bc PH |
56 | * * F,1d,5m |
57 | ||
afda344b | 58 | # End |