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