Commit | Line | Data |
---|---|---|
bfe645c1 JH |
1 | # Exim test configuration 0603 |
2 | # Add several messages going to the same location | |
3 | # And change smtp output based on senders domain | |
4 | ||
5 | hostlist loopback = <; 127.0.0.0/8 ; 0.0.0.0 ; ::1 ; 0000:0000:0000:0000:0000:ffff | |
6 | untrusted_set_sender = * | |
7 | ||
8 | SERVER = | |
9 | ||
10 | exim_path = EXIM_PATH | |
11 | host_lookup_order = bydns | |
12 | #primary_hostname = myhost.test.ex | |
13 | rfc1413_query_timeout = 0s | |
14 | spool_directory = DIR/spool | |
15 | log_file_path = DIR/spool/log/SERVER%slog | |
16 | log_selector = +sender_on_delivery | |
17 | gecos_pattern = "" | |
18 | gecos_name = CALLER_NAME | |
19 | tls_advertise_hosts = | |
20 | ||
21 | # ----- Main settings ----- | |
22 | ||
23 | acl_smtp_rcpt = accept | |
24 | ||
25 | queue_only | |
26 | queue_run_in_order | |
27 | ||
28 | # ----- Routers ----- | |
29 | ||
30 | begin routers | |
31 | ||
32 | client: | |
33 | driver = accept | |
34 | condition = ${if eq {SERVER}{server}{no}{yes}} | |
35 | transport = send_to_server | |
36 | ||
37 | server: | |
38 | driver = accept | |
39 | transport = send_to_server | |
40 | ||
41 | ||
42 | # ----- Transports ----- | |
43 | ||
44 | begin transports | |
45 | ||
46 | send_to_server: | |
47 | driver = smtp | |
48 | connection_max_messages = 0 | |
49 | allow_localhost | |
50 | hosts = 127.0.0.1 | |
51 | port = PORT_D | |
52 | interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{127.0.0.2}} | |
53 | ||
54 | # ----- Retry ----- | |
55 | ||
56 | begin retry | |
57 | ||
58 | * * F,5d,10s | |
59 | ||
60 | # End | |
61 |