SRS: avoid expanding ${srs_encode...} when guarded by ${if...}
[exim.git] / test / confs / 0597
1 # Exim test configuration 0597
2 # control = queue/first_pass_route
3
4 .include DIR/aux-var/std_conf_prefix
5
6
7 # ----- Main settings -----
8
9 domainlist local_domains = @
10
11 acl_smtp_rcpt = check_rcpt
12
13 trusted_users = CALLER
14 queue_run_in_order
15
16
17 # ----- ACL -----
18
19 begin acl
20
21 check_rcpt:
22   accept        senders =       HOSTIPV4
23
24   accept        local_parts =   ^queue_only.*
25                 control =       queue_only
26
27   accept        local_parts =   ^first_pass_route.*
28                 control =       queue/first_pass_route
29
30 # ----- Routers -----
31
32 begin routers
33
34 discard_remote_source:
35   driver =      redirect
36   condition =   ${if !eq {$sender_host_address}{127.0.0.1}}
37   data =        :blackhole:
38
39 outbound:
40   driver =      accept
41   transport =   smtp
42
43
44 # ----- Transports -----
45
46 begin transports
47
48 smtp:
49   driver =      smtp
50   hosts =       HOSTIPV4
51   port =        PORT_D
52   allow_localhost
53   hosts_try_fastopen = :
54
55 # End