Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 2110 |
2 | ||
3 | SERVER = | |
4 | ||
5 | exim_path = EXIM_PATH | |
6 | host_lookup_order = bydns | |
7 | primary_hostname = myhost.test.ex | |
8 | rfc1413_query_timeout = 0s | |
9 | spool_directory = DIR/spool | |
10 | log_file_path = DIR/spool/log/SERVER%slog | |
11 | gecos_pattern = "" | |
12 | gecos_name = CALLER_NAME | |
13 | ||
14 | # ----- Main settings ----- | |
15 | ||
16 | acl_smtp_rcpt = accept | |
17 | ||
18 | queue_only | |
19 | queue_run_in_order | |
20 | ||
21 | # Set certificate only if server | |
22 | ||
23 | tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} | |
24 | tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} | |
25 | ||
26 | tls_advertise_hosts = HOSTIPV4 | |
27 | ||
28 | ||
29 | # ----- Routers ----- | |
30 | ||
31 | begin routers | |
32 | ||
33 | client: | |
34 | driver = accept | |
35 | condition = ${if eq {SERVER}{server}{no}{yes}} | |
36 | retry_use_local_part | |
37 | transport = send_to_server | |
38 | ||
39 | ||
40 | # ----- Transports ----- | |
41 | ||
42 | begin transports | |
43 | ||
44 | send_to_server: | |
45 | driver = smtp | |
46 | allow_localhost | |
47 | hosts = 127.0.0.1 : HOSTIPV4 | |
48 | hosts_require_tls = * | |
49 | port = PORT_D | |
50 | ||
51 | # End |