summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-10-31 16:08:11 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-10-31 16:08:11 +0000
commit1bf43b7812e6dd16ab21c42a28f6ba34a28d2bb7 (patch)
treeefcce7eb6c26c596a680e85a9d305842621b71db /test/confs
parent0d85fa3fd0f9f036b4ca269a15fce0f0c5348ffe (diff)
$domain not always set when scanning a domain list.
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/054470
1 files changed, 70 insertions, 0 deletions
diff --git a/test/confs/0544 b/test/confs/0544
new file mode 100644
index 000000000..f1a32b31a
--- /dev/null
+++ b/test/confs/0544
@@ -0,0 +1,70 @@
+# Exim test configuration 0544
+
+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
+
+# ----- Main settings -----
+
+domainlist dlist = testdb;$domain
+
+acl_smtp_helo = check_helo
+acl_smtp_mail = check_mail
+acl_smtp_rcpt = check_rcpt
+queue_smtp_domains = testdb;$domain
+qualify_domain = test.ex
+
+
+# ----- ACLs -----
+
+begin acl
+
+check_helo:
+ warn
+ condition = ${if match_domain {$sender_helo_name}{+dlist}}
+ accept
+
+
+check_mail:
+ warn hosts = domain=$domain/sender_domain=$sender_address_domain
+ accept
+
+check_rcpt:
+ warn domains = domain=$domain/sender_domain=$sender_address_domain
+ warn sender_domains = domain=$domain/sender_domain=$sender_address_domain
+ accept
+
+
+# ----- Routers -----
+
+begin routers
+
+smarthost:
+ driver = accept
+ transport = smtp
+
+
+# ----- Transports -----
+
+begin transports
+
+smtp:
+ driver = smtp
+ hosts = 127.0.0.1
+ allow_localhost
+ port = PORT_S
+
+
+# ----- Retry -----
+
+
+begin retry
+
+* * F,5d,15m
+
+
+# End