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 = @
10 hostlist relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
11 select * from them where \
12 id='$sender_host_address'
14 acl_smtp_rcpt = check_recipient
15 sqlite_lock_timeout = 2
23 accept domains = +local_domains
24 accept hosts = +relay_hosts
25 deny message = relay not permitted
34 address_data = ${lookup sqlite \
35 {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
39 # ----- Transports -----
45 file = DIR/test-mail/\
46 ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\