# Exim test configuration 0211 .include DIR/aux-var/std_conf_prefix # ----- Main settings ----- domainlist local_domains = test.ex acl_smtp_rcpt = check_recipient log_selector = +sender_on_delivery qualify_domain = test.ex # ----- ACLs ----- begin acl check_recipient: accept hosts = : accept domains = +local_domains deny message = relay not permitted # ----- Routers ----- begin routers others: driver = manualroute domains = ! +local_domains .ifdef LIST route_data = 127.0.0.1:HOSTIPV4 .else route_data = localhost4.test.ex byname .endif self = send transport = smtp no_more all: driver = accept retry_use_local_part transport = local_delivery # ----- Transports ----- begin transports smtp: driver = smtp port = PORT_S command_timeout = 1s local_delivery: driver = appendfile file = DIR/test-mail/$local_part return_path_add user = CALLER # ----- Retry ----- begin retry * * F,5d,8h # End