Commit | Line | Data |
---|---|---|
ff966302 JH |
1 | # Exim test configuration 0999 |
2 | # Queue many messages for a two-phase fast-ramp run | |
3 | ||
4 | hostlist loopback = <; 127.0.0.0/8 ; 0.0.0.0 ; ::1 ; 0000:0000:0000:0000:0000:ffff | |
5 | untrusted_set_sender = * | |
6 | ||
7 | SERVER = | |
8 | ||
9 | .include DIR/aux-var/std_conf_prefix | |
10 | ||
11 | rfc1413_query_timeout = 0s | |
12 | log_selector = +sender_on_delivery +millisec | |
13 | ||
14 | # ----- Main settings ----- | |
15 | ||
6641ba45 | 16 | acl_smtp_rcpt = chk_rcpt |
ff966302 | 17 | |
6641ba45 | 18 | smtp_accept_queue_per_connection = 0 |
ff966302 JH |
19 | queue_fast_ramp |
20 | ||
6641ba45 JH |
21 | begin acl |
22 | ||
23 | chk_rcpt: | |
24 | warn condition = ${if eq {local-smtp}{$received_protocol}} | |
25 | control = queue_only | |
26 | accept | |
27 | ||
ff966302 JH |
28 | # ----- Routers ----- |
29 | ||
30 | begin routers | |
31 | ||
48a74eea JH |
32 | drain_q: |
33 | driver = accept | |
34 | condition = ${if !def:sender_host_address} | |
35 | transport = send_to_server | |
36 | ||
37 | targetsys: | |
38 | driver = redirect | |
39 | data = :blackhole: | |
ff966302 JH |
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 | hosts_try_fastopen = : | |
53 | # assumes that HOSTIPV4 can send to 127.0.0.1 | |
54 | interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}} | |
55 | ||
56 | # ----- Retry ----- | |
57 | ||
58 | begin retry | |
59 | ||
60 | * * F,5d,10s | |
61 | ||
62 | # End | |
63 |