diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-07 10:34:24 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-07 10:34:24 +0000 |
commit | afda344b580b54a4513569720aec3260cd5ba546 (patch) | |
tree | 6318744c7d3f502ee72bcd20bab0f612c5dceacf /test/confs/0231 | |
parent | 9ba4af2b76958e076a0c002e53ead87ed7a47a68 (diff) |
More new test committing.
Diffstat (limited to 'test/confs/0231')
-rw-r--r-- | test/confs/0231 | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/test/confs/0231 b/test/confs/0231 new file mode 100644 index 000000000..721b8f7e5 --- /dev/null +++ b/test/confs/0231 @@ -0,0 +1,83 @@ +# Exim test configuration 0231 + +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 : *.test.ex + +acl_smtp_rcpt = check_recipient + + +# ----- ACL ----- + +begin acl + +check_recipient: + accept hosts = : + accept domains = +local_domains + deny message = relay not permitted + + +# ----- Routers ----- + +begin routers + +rewrite1: + driver = manualroute + domains = ! +local_domains + route_list = * 127.0.0.1 byname + self = send + transport = smtp_rewrite + no_more + +rewrite2: + driver = accept + local_parts = a + retry_use_local_part + transport = local_delivery_rewrite + +no_rewrite: + driver = accept + retry_use_local_part + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +local_delivery_rewrite: + driver = appendfile + file = DIR/test-mail/$local_part + headers_rewrite = a@test.ex a-rewrite@test.ex + user = CALLER + +local_delivery: + driver = appendfile + file = DIR/test-mail/$local_part + user = CALLER + +smtp_rewrite: + driver = smtp + headers_rewrite = *@domain1 $1-rewrite@domain2 f :\ + *@domain1 $1-other@domain2 + port = PORT_S + + +# ----- Retry ----- + + +begin retry + +* * F,5d,10s + + +# End |