Fix clang build
[exim.git] / test / confs / 4040
1 # Exim test configuration 4040
2
3 SERVER=
4 OPT=
5
6 .include DIR/aux-var/std_conf_prefix
7
8 primary_hostname = myhost.test.ex
9
10 # ----- Main settings -----
11
12 wellknown_advertise_hosts = 127.0.0.1
13 acl_smtp_wellknown = check_wellknown
14
15 # ----- ACL -----
16
17 begin acl
18
19 check_wellknown:
20   accept
21     logwrite =          [$sender_host_address] $smtp_command
22     condition =         ${if == {${received_port}}{PORT_D}}
23     set acl_c_wellknown = ${lookup {${xtextd:$smtp_command_argument}} \
24                                 dsearch,ret=full,filter=fileOPT \
25                                 {DIR/aux-fixed/TESTNUM}}
26     logwrite =          [$sender_host_address] -> '$acl_c_wellknown'
27     control =           wellknown/$acl_c_wellknown
28
29 # End