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