Docs: change example from match (RE) to match_ip (IP list)
[exim.git] / test / confs / 0227
index 2f2178185d1ed6fb7ddcd965fe9a2f04d4678db1..a0b85c287b528c447e4f21c2889b429ee78c7647 100644 (file)
@@ -1,13 +1,8 @@
 # Exim test configuration 0227
 
 # Exim test configuration 0227
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
+.include DIR/aux-var/std_conf_prefix
+
 primary_hostname = myhost.test.ex
 primary_hostname = myhost.test.ex
-rfc1413_query_timeout = 0s
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
 
 # ----- Main settings -----
 
 
 # ----- Main settings -----
 
@@ -26,25 +21,23 @@ check_recipient:
           control  = no_multiline_responses
   accept  hosts    = V4NET.0.0.4
   deny    hosts    = V4NET.0.0.1
           control  = no_multiline_responses
   accept  hosts    = V4NET.0.0.4
   deny    hosts    = V4NET.0.0.1
-          log_message = ($sender_verify_failure) R:$router_name
          !verify   = sender/callout=no_cache
   deny    hosts    = V4NET.0.0.3
          !verify   = sender/callout=no_cache
   deny    hosts    = V4NET.0.0.3
-          log_message = ($recipient_verify_failure) R:$router_name
          !verify   = recipient/callout=no_cache
          !verify   = recipient/callout=no_cache
-  warn    logwrite = verify recipient used R:$router_name
+  deny    hosts    = V4NET.0.0.7
+         !verify   = recipient/callout=no_cache,use_sender,random
   deny    hosts    = V4NET.0.0.5
   deny    hosts    = V4NET.0.0.5
-          log_message = ($sender_verify_failure) R:$router_name
          !verify   = sender/callout=no_cache/check_postmaster
          !verify   = sender/callout=no_cache/check_postmaster
+  deny    hosts    = V4NET.0.0.6
+         !verify   = sender/callout=no_cache
   require verify   = sender
   require verify   = sender
-          logwrite = verify sender used R:$router_name
   accept  domains  = +local_domains
   deny    message  = relay not permitted
 
 check_data:
   deny    hosts = V4NET.0.0.4
   accept  domains  = +local_domains
   deny    message  = relay not permitted
 
 check_data:
   deny    hosts = V4NET.0.0.4
-          log_message = header_sender R:$router_name
          !verify = header_sender/callout=no_cache
          !verify = header_sender/callout=no_cache
-  accept logwrite = verify header_sender used R:$router_name
+  accept
 
 
 # ----- Routers -----
 
 
 # ----- Routers -----
@@ -86,13 +79,15 @@ all:
 begin transports
 
 smtp:
 begin transports
 
 smtp:
-  driver = smtp
-  port = PORT_S
+  driver =     smtp
+  port =       PORT_S
+  interface =  ${if eq {bindfail}{$local_part} {1.1.1.1}{}}
+  hosts_try_fastopen = :
 
 lmtp:
 
 lmtp:
-  driver = smtp
-  port = PORT_S
-  protocol = lmtp
+  driver =     smtp
+  port =       PORT_S
+  protocol =   lmtp
 
 
 # ----- Retry -----
 
 
 # ----- Retry -----