X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9ba4af2b76958e076a0c002e53ead87ed7a47a68..afda344b580b54a4513569720aec3260cd5ba546:/test/confs/0227 diff --git a/test/confs/0227 b/test/confs/0227 new file mode 100644 index 000000000..17f49eb76 --- /dev/null +++ b/test/confs/0227 @@ -0,0 +1,101 @@ +# Exim test configuration 0227 + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +rfc1413_query_timeout = 0s +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +# ----- Main settings ----- + +domainlist local_domains = test.ex + +acl_smtp_rcpt = check_recipient +acl_smtp_data = check_data + + +# ----- ACL ----- + +begin acl + +check_recipient: + warn senders = ^uncheckable2@ + control = no_multiline_responses + accept hosts = V4NET.0.0.4 + deny hosts = V4NET.0.0.1 + !verify = sender/callout=no_cache + deny hosts = V4NET.0.0.3 + log_message = ($recipient_verify_failure) + !verify = recipient/callout=no_cache + deny hosts = V4NET.0.0.5 + log_message = ($sender_verify_failure) + !verify = sender/callout=no_cache/check_postmaster + require verify = sender + accept domains = +local_domains + deny message = relay not permitted + +check_data: + deny hosts = V4NET.0.0.4 + !verify = header_sender/callout=no_cache + accept + + +# ----- Routers ----- + +begin routers + +mxt3: + driver = dnslookup + domains = mxt3.test.ex + self = send + transport = smtp + +localhost1: + driver = manualroute + domains = localhost1 + route_list = * 127.0.0.1 byname + self = send + transport = smtp + no_more + +lmtp: + driver = manualroute + domains = remote.lmtp + route_list = * 127.0.0.1 + transport = lmtp + self = send + +all: + driver = manualroute + domains = ! +local_domains + route_list = * "127.0.0.1 : HOSTIPV4" byname + self = send + transport = smtp + no_more + + +# ----- Transports ----- + +begin transports + +smtp: + driver = smtp + port = PORT_S + +lmtp: + driver = smtp + port = PORT_S + protocol = lmtp + + +# ----- Retry ----- + +begin retry + +* * F,5d,10s + + +# End