Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 264 |
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 | ||
22 | # ----- Routers ----- | |
23 | ||
24 | begin routers | |
25 | ||
26 | client: | |
27 | driver = accept | |
28 | condition = ${if eq {SERVER}{server}{no}{yes}} | |
29 | transport = send_to_server | |
30 | ||
31 | server: | |
32 | driver = accept | |
33 | transport = local_delivery | |
34 | ||
35 | ||
36 | # ----- Transports ----- | |
37 | ||
38 | begin transports | |
39 | ||
40 | local_delivery: | |
41 | driver = appendfile | |
42 | file = DIR/test-mail/$local_part | |
43 | user = CALLER | |
44 | ||
45 | send_to_server: | |
46 | driver = smtp | |
47 | allow_localhost | |
48 | hosts = $h_hosts | |
49 | port = PORT_D | |
50 | interface = ${expand:$h_interface:} | |
51 | ||
52 | ||
53 | # ----- Retry ----- | |
54 | ||
55 | begin retry | |
56 | ||
57 | * * F,5d,10s | |
58 | ||
59 | # End |