summaryrefslogtreecommitdiff
path: root/test/confs/0597
blob: dcebf151ef5627283f4d343f6a6b0bae60e3ff7a (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
# Exim test configuration 0597
# control = queue/first_pass_route

.include DIR/aux-var/std_conf_prefix


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

domainlist local_domains = @

acl_smtp_rcpt = check_rcpt

trusted_users = CALLER
queue_run_in_order


# ----- ACL -----

begin acl

check_rcpt:
  accept	senders =	HOSTIPV4

  accept	local_parts =	^queue_only.*
		control =	queue_only

  accept	local_parts =	^first_pass_route.*
		control =	queue/first_pass_route

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

begin routers

discard_remote_source:
  driver =	redirect
  condition =	${if !eq {$sender_host_address}{127.0.0.1}}
  data =	:blackhole:

outbound:
  driver =	accept
  transport =	smtp


# ----- Transports -----

begin transports

smtp:
  driver =	smtp
  hosts =	HOSTIPV4
  port =	PORT_D
  allow_localhost
  hosts_try_fastopen = :

# End