blob: eec6d3259bc5478a45032bcbea21963a5bdb4b3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Exim test configuration 0614
# Add several messages going to the same location
# And change smtp output based on senders domain
hostlist loopback = <; 127.0.0.0/8 ; 0.0.0.0 ; ::1 ; 0000:0000:0000:0000:0000:ffff
untrusted_set_sender = *
SERVER =
.include DIR/aux-var/std_conf_prefix
rfc1413_query_timeout = 0s
log_selector = +sender_on_delivery
# ----- Main settings -----
acl_smtp_rcpt = accept
queue_only
queue_run_in_order
# ----- Routers -----
begin routers
client:
driver = accept
condition = ${if eq {SERVER}{server}{no}{yes}}
transport = send_to_server
server:
driver = accept
transport = send_to_server
# ----- Transports -----
begin transports
send_to_server:
driver = smtp
connection_max_messages = 0
allow_localhost
hosts = 127.0.0.1
port = PORT_D
hosts_try_fastopen = :
# assumes that HOSTIPV4 can send to 127.0.0.1
interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}}
# ----- Retry -----
begin retry
* * F,5d,10s
# End
|