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
26 accept domains = +local_domains
27 accept hosts = +relay_hosts
28 deny message = relay not permitted
37 address_data = ${lookup sqlite \
38 {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
42 # ----- Transports -----
48 file = DIR/test-mail/\
49 ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\