1 # Exim test configuration 2600
3 .include DIR/aux-var/std_conf_prefix
5 primary_hostname = myhost.test.ex
7 # ----- Main settings -----
9 domainlist local_domains = @
11 hostlist relay_hosts = sqlite,file=DIR/aux-fixed/sqlitedb; \
12 select * from them where \
13 id='$sender_host_address'
15 hostlist relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
16 select * from them where \
17 id='$sender_host_address'
20 acl_smtp_rcpt = check_recipient
21 sqlite_lock_timeout = 2
32 accept domains = +local_domains
33 accept hosts = +relay_hosts
34 deny message = relay not permitted
43 address_data = ${lookup sqlite \
44 {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
48 # ----- Transports -----
54 file = DIR/test-mail/\
55 ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\