# Exim test configuration 0471
-exim_path = EXIM_PATH
-host_lookup_order = bydns
+.include DIR/aux-var/std_conf_prefix
+
primary_hostname = myhost.test.ex
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
-tls_advertise_hosts =
+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