1 # Exim test configuration 9100
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 = net-mysql;select * from them where id='$sender_host_address'
12 acl_smtp_rcpt = check_recipient
14 mysql_servers = localhost/test/root/
22 accept domains = +local_domains
23 accept hosts = +relay_hosts
24 deny message = relay not permitted
33 address_data = ${lookup mysql{select name from them where id='ph10'}}
37 # ----- Transports -----
43 file = DIR/test-mail/\
44 ${lookup mysql{select id from them where id='ph10'}{$value}fail}