1 # Exim test configuration 9100
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
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 = net-mysql;select * from them where id='$sender_host_address'
17 acl_smtp_rcpt = check_recipient
19 mysql_servers = localhost/test/root/
27 accept domains = +local_domains
28 accept hosts = +relay_hosts
29 deny message = relay not permitted
38 address_data = ${lookup mysql{select name from them where id='ph10'}}
42 # ----- Transports -----
48 file = DIR/test-mail/\
49 ${lookup mysql{select id from them where id='ph10'}{$value}fail}