summaryrefslogtreecommitdiff
path: root/test/confs/0999
blob: 6ec62b6a4f5f3ed8f023ab94912acb0234a89fab (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
58
59
60
61
62
63
# Exim test configuration 0999
# Queue many messages for a two-phase fast-ramp run

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 +millisec

# ----- Main settings -----

acl_smtp_rcpt = chk_rcpt

smtp_accept_queue_per_connection = 0
queue_fast_ramp

begin acl

chk_rcpt:
  warn	condition =	${if eq {local-smtp}{$received_protocol}}
	control =	queue_only
  accept

# ----- Routers -----

begin routers

drain_q:
  driver =	accept
  condition =	${if !def:sender_host_address}
  transport =	send_to_server

targetsys:
  driver =	redirect
  data =	:blackhole:


# ----- 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