summaryrefslogtreecommitdiff
path: root/test/confs/2600
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-06-06 18:04:36 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-06-06 18:04:36 +0100
commitb8514d1960e259d49ab2c84c89eba52ab993da3f (patch)
tree518d70cf6119717cd896e40b5aa88a919fca7751 /test/confs/2600
parent4a7dca52352d0976f200b89a50825433b7551554 (diff)
Sqlite: new-style option to specify db file
Diffstat (limited to 'test/confs/2600')
-rw-r--r--test/confs/26006
1 files changed, 6 insertions, 0 deletions
diff --git a/test/confs/2600 b/test/confs/2600
index e42cbe33c..29f5afbbe 100644
--- a/test/confs/2600
+++ b/test/confs/2600
@@ -7,9 +7,15 @@ primary_hostname = myhost.test.ex
# ----- Main settings -----
domainlist local_domains = @
+.ifdef OPT
+hostlist relay_hosts = sqlite,file=DIR/aux-fixed/sqlitedb; \
+ select * from them where \
+ id='$sender_host_address'
+.else
hostlist relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
select * from them where \
id='$sender_host_address'
+.endif
acl_smtp_rcpt = check_recipient
sqlite_lock_timeout = 2