diff options
Diffstat (limited to 'test/confs/3551')
-rw-r--r-- | test/confs/3551 | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/test/confs/3551 b/test/confs/3551 new file mode 100644 index 000000000..ef85ee006 --- /dev/null +++ b/test/confs/3551 @@ -0,0 +1,69 @@ +# Exim test configuration 3550 + +AUTHS=DIR/tmp/dovecot_auth_socket + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +domainlist local_domains = test.ex : *.test.ex + +hostlist auth_hosts = 10.0.0.1 +hostlist relay_hosts = 10.0.0.4 +hostlist auth_relay_hosts = 10.0.0.3 : 10.0.0.4 + +acl_smtp_rcpt = check_recipient +auth_advertise_hosts = +auth_hosts : !+relay_hosts : +auth_relay_hosts : \ + 10.0.0.5 +smtp_accept_max_nonmail = 20 +trusted_users = CALLER + + +# ----- ACL ----- + +begin acl + +check_recipient: + deny message = authentication required + !authenticated = * + accept + +# ----- Authentication ----- + +begin authenticators + +login: + driver = dovecot + public_name = LOGIN + server_socket = AUTHS + server_condition = ${if eq {$auth1}{userx} {yes}{no}} + server_set_id = $auth1 + + +# ----- Routers ----- + +begin routers + +localuser: + driver = accept + local_parts = userx + transport = appendfile + + +# ----- Transports ----- + +begin transports + +appendfile: + driver = appendfile + delivery_date_add + envelope_to_add + file = DIR/test-mail/$local_part + create_file = DIR/test-mail + return_path_add + user = CALLER + + +# End |