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