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 PH |
6 | |
7 | exim_path = EXIM_PATH | |
8 | host_lookup_order = bydns | |
9 | primary_hostname = myhost.test.ex | |
10 | rfc1413_query_timeout = 0s | |
11 | spool_directory = DIR/spool | |
12 | log_file_path = DIR/spool/log/SERVER%slog | |
13 | gecos_pattern = "" | |
14 | gecos_name = CALLER_NAME | |
15 | ||
16 | # ----- Main settings ----- | |
17 | ||
18 | acl_smtp_rcpt = accept | |
19 | ||
20 | queue_only | |
21 | queue_run_in_order | |
22 | ||
23 | # Set certificate only if server | |
24 | ||
25 | tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} | |
26 | tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} | |
27 | ||
28 | tls_advertise_hosts = HOSTIPV4 | |
29 | ||
30 | ||
31 | # ----- Routers ----- | |
32 | ||
33 | begin routers | |
34 | ||
35 | client: | |
36 | driver = accept | |
37 | condition = ${if eq {SERVER}{server}{no}{yes}} | |
38 | retry_use_local_part | |
39 | transport = send_to_server | |
40 | ||
41 | ||
42 | # ----- Transports ----- | |
43 | ||
44 | begin transports | |
45 | ||
46 | send_to_server: | |
47 | driver = smtp | |
48 | allow_localhost | |
e97957bc | 49 | hosts = HOSTS |
afda344b PH |
50 | hosts_require_tls = * |
51 | port = PORT_D | |
52 | ||
e97957bc PH |
53 | |
54 | # ----- Retry ----- | |
55 | ||
56 | begin retry | |
57 | ||
48da4259 | 58 | * tls_required TIMES |
e97957bc PH |
59 | * * F,1d,5m |
60 | ||
afda344b | 61 | # End |