# Exim test configuration 0024 .include DIR/aux-var/std_conf_prefix primary_hostname = myhost.test.ex # ----- Main settings ----- domainlist local_domains = test.ex domainlist relay_domains = ten-1.test.ex hostlist relay_hosts = V4NET.255.255.0/24 trusted_users = CALLER acl_smtp_rcpt = acl_rcpt # ------ ACLs ------ begin acl acl_rcpt: accept hosts = : accept domains = +local_domains local_parts = postmaster require verify = sender deny domains = +local_domains local_parts = ^[.] : ^.*[@%!/|] message = Restricted characters in address deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text dnslists = rbl.test.ex warn message = X-Warning: $sender_host_address is in a black list at $dnslist_domain ($dnslist_value) log_message = found in $dnslist_domain dnslists = rbl2.test.ex accept domains = +local_domains endpass verify = recipient require verify = recipient accept domains = +relay_domains accept hosts = 127.0.0.1 : +relay_hosts accept authenticated = * deny message = relay not permitted # ------ Routers ------ begin routers r1: driver = dnslookup domains = ! +local_domains transport = dev_null no_more redir: driver = redirect local_parts = føø data = userx r2: driver = accept local_parts = userx : postmaster transport = local_delivery cannot_route_message = unknown user # ------ Transports ------ begin transports dev_null: driver = appendfile file = /dev/null user = CALLER local_delivery: driver = appendfile file = DIR/test-mail/${bless:$local_part} user = CALLER # End