Docs: change example from match (RE) to match_ip (IP list)
[exim.git] / test / confs / 0471
index f7e0a9f0bec58cb3cc0556ae50753f3ff11de121..dcd476d4a6797f7eb879841983e1c89a8f2e122b 100644 (file)
@@ -3,15 +3,24 @@
 .include DIR/aux-var/std_conf_prefix
 
 primary_hostname = myhost.test.ex
+log_selector = +received_recipients
 
 # ----- Main settings -----
 
+acl_not_smtp = check
 
+begin acl
+
+check:
+       warn    !verify = header_syntax
+               logwrite = verify header_syntax fails
+       accept
 
 # ----- Rewrite -----
 
 begin rewrite
 
-*@* $1@${lookup{${lc:$2}}partial-lsearch{DIR/aux-fixed/TESTNUM.rw}{$value}fail} FTbcfrt
+^.{40,}@*      deny_me@test.example                                                            FTbcfrt
+*@*            $1@${lookup{${lc:$2}}partial-lsearch{DIR/aux-fixed/TESTNUM.rw}{$value}fail}     FTbcfrt
 
 # End