1 # Exim test configuration 9100
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 = net-mysql;select * from them where id='$sender_host_address'
16 acl_smtp_rcpt = check_recipient
18 mysql_servers = localhost/test/root/
26 accept domains = +local_domains
27 accept hosts = +relay_hosts
28 deny message = relay not permitted
37 address_data = ${lookup mysql{select name from them where id='ph10'}}
41 # ----- Transports -----
47 file = DIR/test-mail/\
48 ${lookup mysql{select id from them where id='ph10'}{$value}fail}