Avoid sending DSN when message was accepted under fakereject or fakedefer. Bug 3016
[exim.git] / test / confs / 2600
index e42cbe33c5f57e433a5498fc23b0215e383d19b8..29f5afbbedb9850bb2f7460f23ee8fb5153dcf57 100644 (file)
@@ -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