X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d6f6e0dc45e55bf5edd4c16e2b360ab2031d5468..7b162fc84e202a16b89fa11224737ffbdd240bc8:/test/confs/0139 diff --git a/test/confs/0139 b/test/confs/0139 index cd9433a92..34ebb911e 100644 --- a/test/confs/0139 +++ b/test/confs/0139 @@ -1,32 +1,46 @@ # Exim test configuration 0139 -exim_path = EXIM_PATH -host_lookup_order = bydns -rfc1413_query_timeout = 0s -spool_directory = DIR/spool -log_file_path = DIR/spool/log/%slog -gecos_pattern = "" -gecos_name = CALLER_NAME +.include DIR/aux-var/std_conf_prefix + # ----- Main settings ----- domainlist local_domains = exim.test.ex trusted_users = CALLER +hosts_require_helo = +acl_smtp_helo = check_helo acl_smtp_rcpt = check_recipient acl_smtp_mail = check_mail +acl_smtp_vrfy = check_vrfy # ------ ACL ------ begin acl +check_helo: + warn dnslists = rbl2.test.ex!=127.0.0.3 : rbl3.test.ex=127.0.0.3 + accept + +check_vrfy: + warn dnslists = rbl.test.ex=127.0.0.1 + warn dnslists = rbl.test.ex!=127.0.0.1 + warn dnslists = rbl.test.ex!=127.0.0.3 + warn dnslists = rbl.test.ex==127.0.0.1 + warn dnslists = rbl.test.ex==127.0.0.1,127.0.0.2 + warn dnslists = rbl.test.ex!==127.0.0.1 + warn dnslists = rbl.test.ex!==127.0.0.3 + warn dnslists = rbl.test.ex!==127.0.0.1,127.0.0.2 + warn dnslists = rbl.test.ex + accept + check_mail: warn dnslists = rbl4.test.ex&0.0.0.6 warn dnslists = rbl4.test.ex&127.0.0.3 warn dnslists = rbl4.test.ex!&0.0.0.7 - add_header = DNSlist: $dnslist_domain $dnslist_text + add_header = DNSlist: $dnslist_domain $dnslist_text $dnslist_matched warn dnslists = rbl5.test.ex,rbl4.test.ex=127.0.0.128 - add_header = DNSlist: $dnslist_domain $dnslist_text + add_header = DNSlist: $dnslist_domain $dnslist_text $dnslist_matched accept check_recipient: @@ -69,6 +83,7 @@ local_delivery: delivery_date_add envelope_to_add file = DIR/test-mail/$local_part + create_file = DIR/test-mail return_path_add user = CALLER