From b8514d1960e259d49ab2c84c89eba52ab993da3f Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 6 Jun 2020 18:04:36 +0100 Subject: Sqlite: new-style option to specify db file --- test/confs/2600 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/confs/2600') 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 -- cgit v1.2.3