X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/5cd1d1356732d96d49a1f7c682d1b8a33b2576f9..33c9e43ec040c0a29394d8e3b745180ddddc0ed8:/test/confs/0032 diff --git a/test/confs/0032 b/test/confs/0032 index 8af551b0c..df02a034a 100644 --- a/test/confs/0032 +++ b/test/confs/0032 @@ -9,6 +9,33 @@ primary_hostname = myhost.ex dsn_from = MailProgram +acl_not_smtp = add_insane_refs + + +# ----- ACL ----- + +begin acl + +# Put an overlong refs header on the message-to-be-bounced, so we can check the +# bounce has a sane header + +add_insane_refs: + warn !senders = : + add_header = References: \ + <0.ZERO.78901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.ONE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.TWO.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.THREE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.FOUR.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.FIVE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.SIX.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.SEVEN.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.EIGHT.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.NINE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.TEN.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.ELEVEN.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \ + <0.TWELVE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> + accept # ----- Routers -----