summaryrefslogtreecommitdiff
path: root/test/confs/0580
blob: a96b01162e6d92b1e9cddd388ca5371d5dd89673 (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 0580

OPT =

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

acl_smtp_rcpt = check_rcpt

log_selector = +received_recipients
OPT

# ----- ACLs -----

begin acl

check_rcpt:
  accept
  	local_parts =	delay : remote
	verify =	recipient/callout=2s,use_sender,defer_ok,hold

  accept
	local_parts =	local

  accept
	verify = recipient/callout=use_sender,hold

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

begin routers

r_local:
  driver =	accept
  local_parts =	local
  transport =	local_deliv

r_remote:
  driver =	manualroute
  route_list = * 127.0.0.1
  self =	send
  transport =	t1


begin transports

local_deliv:
  driver =	appendfile
  file =	DIR/test-mail/$local_part_data
  user =	CALLER

t1:
  driver = smtp
  port =   PORT_S
  hosts_try_fastopen = :

# ----- Retry -----
begin retry

* * F,5d,10s
# End