Fix matching of long addresses. Bug 2677
[exim.git] / test / confs / 0471
index f7e0a9f0bec58cb3cc0556ae50753f3ff11de121..12bd3b52729a91508bba7b90fe328686c9bcef52 100644 (file)
@@ -3,6 +3,7 @@
 .include DIR/aux-var/std_conf_prefix
 
 primary_hostname = myhost.test.ex
+log_selector = +received_recipients
 
 # ----- Main settings -----
 
@@ -12,6 +13,7 @@ primary_hostname = myhost.test.ex
 
 begin rewrite
 
+^.{40,}@*          deny_me@test.example                FTbcfrt
 *@* $1@${lookup{${lc:$2}}partial-lsearch{DIR/aux-fixed/TESTNUM.rw}{$value}fail} FTbcfrt
 
 # End