1 # Exim test configuration 2600
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
11 # ----- Main settings -----
13 domainlist local_domains = @
14 hostlist relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
15 select * from them where \
16 id='$sender_host_address'
18 acl_smtp_rcpt = check_recipient
19 sqlite_lock_timeout = 2
27 accept domains = +local_domains
28 accept hosts = +relay_hosts
29 deny message = relay not permitted
38 address_data = ${lookup sqlite \
39 {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
43 # ----- Transports -----
49 file = DIR/test-mail/\
50 ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\