1 # Exim test configuration 0639
3 .include DIR/aux-var/std_conf_prefix
8 # ----- Main settings -----
10 acl_smtp_atrn = ${if = {$received_port}{PORT_D2} {check_atrn}{}}
11 acl_smtp_rcpt = accept
21 deny hosts = 127.0.0.1
22 warn set acl_m0 = clientdom.net
23 deny condition = ${if def:smtp_command_argument}
25 {<, $smtp_command_argument} \
26 {${if inlist{$item}{clientdom.net:cl2dom.net} {$value}}} \
28 condition = ${if !def:acl_m0}
33 !atrn_domains = <, $acl_m0
37 message = 453 You have no mail
48 ${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
49 server_set_id = $auth2
51 client_send = ^userx^secret
53 # -------- routers ---
59 condition = ${if eq {$atrn_mode}{P}}
60 route_data = <;$atrn_host
62 transport = call_customer
66 condition = ${if eq {$atrn_mode}{C}}
67 route_data = <;$domain
69 transport = call_provider
71 # -------- transports ---
81 hosts_require_auth = *