summaryrefslogtreecommitdiff
path: root/test/confs/0624
blob: a90a0d09af9a7f4057e4e3812e0fc41399da52e7 (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
# Exim test configuration 0624

.include DIR/aux-var/std_conf_prefix


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

domainlist local_domains = test.ex
qualify_domain = test.ex
log_selector =	+received_recipients +outgoing_port +millisec

smtp_accept_max_per_host = ${acl {delay}}10
remote_max_parallel = 3

acl_smtp_rcpt = discard

# ----- ACL -----
begin acl

delay:
  accept
	 logwrite =	$sender_host_name
	 delay = 2s

# ----- Routers -----
begin routers
r:
	driver =	accept
	transport =	smtp

# ----- Trnasport -----
begin transports
smtp:
	driver =	smtp
	hosts =		${if eq {b}{$local_part} {HOSTIPV4}{127.0.0.1}}
	port =		${if eq {c}{$local_part} {PORT_D2}{PORT_D}}
	allow_localhost
	hosts_try_fastopen =
	max_rcpt =	1

# ----- Retry -----
begin retry
* * F,5d,1d

# End