X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/bc3c7bb7d4aba3e563434e5627fe1f2176aa18c0..03976d0d27f005d68d6a37b418f168f687d49447:/test/confs/0608 diff --git a/test/confs/0608 b/test/confs/0608 index 17ddc1b14..a2ec1be27 100644 --- a/test/confs/0608 +++ b/test/confs/0608 @@ -1,26 +1,49 @@ # Exim test configuration 0608 +# Bounces + +.include DIR/aux-var/std_conf_prefix -exim_path = EXIM_PATH -keep_environment = -host_lookup_order = bydns 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 = # ----- Main settings ----- -acl_smtp_helo = check_helo +acl_smtp_rcpt = accept +log_selector = +received_recipients +millisec + +.ifdef OPT +bounce_message_file = OPT +warn_message_file = OPT +.endif + +delay_warning = 1s + +# ----- Routers ----- + +begin routers + +delay: + driver = redirect + local_parts = ^delay + allow_defer + data = :defer: deliberate for test purposes + +bounces: + driver = accept + condition = ${if !def:sender_address} + transport = savebounce + +begin transports + +savebounce: + driver = appendfile + file = DIR/test-mail/bounce_message + user = CALLER +# ----- Retry ----- -# ----- ACLs ----- +begin retry -begin acl +* * F,5d,100s -check_helo: - require verify = helo - accept logwrite = helo $sender_helo_name dnssec <$sender_helo_dnssec> # End