Docs: change example from match (RE) to match_ip (IP list)
[exim.git] / test / confs / 0612
index da5b72f22bf9e1a86b9f32338bab207665a28712..ad84f9268121bae81839974fe566dfd9b87f6045 100644 (file)
@@ -24,20 +24,26 @@ queue_only
 queue_run_in_order
 
 
 queue_run_in_order
 
 
+.ifdef _HAVE_EVENT
 event_action = ${acl {ev_log}}
 event_action = ${acl {ev_log}}
+.endif
 
 #
 
 begin acl
 
 
 #
 
 begin acl
 
+.ifdef _HAVE_EVENT
 ev_log:
 ev_log:
-  accept logwrite = event $event_name
+  accept logwrite = event $event_name data "$event_data"
+.endif
 
 rcpt:
 
 rcpt:
-  accept hosts =       HOSTIPV4
+  accept       hosts = HOSTIPV4
 
 
-  deny local_parts =   rmt_reject
-  defer        local_parts =   rmt_defer
+  deny         local_parts =   rmt_reject
+  defer                local_parts =   rmt_defer
+  accept       local_parts =   rmt_fakereject
+               control =       fakereject
   accept
 
 # ----- Routers -----
   accept
 
 # ----- Routers -----
@@ -74,19 +80,26 @@ begin transports
 
 smtp:
   driver =     smtp
 
 smtp:
   driver =     smtp
+.ifdef _HAVE_EVENT
   event_action = ${acl {ev_log}}
   event_action = ${acl {ev_log}}
+.endif
   hosts_try_fastopen = :
 
 bad_tpt:
   driver =     smtp
   connect_timeout = 1s
   hosts_try_fastopen = :
 
 bad_tpt:
   driver =     smtp
   connect_timeout = 1s
+.ifdef _HAVE_EVENT
   event_action = ${acl {ev_log}}
   event_action = ${acl {ev_log}}
+.endif
 
 tofile:
   driver = appendfile
 
 tofile:
   driver = appendfile
-  file = DIR/test-mail/${bless:$local_part}
+  file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER
   user = CALLER
+.ifdef _HAVE_EVENT
   event_action = ${acl {ev_log}}
   event_action = ${acl {ev_log}}
+.endif
 
 begin retry
 
 
 begin retry