1 # Exim test configuration 9200
3 SERVERS=localhost::PORT_N/test/CALLER/
5 .include DIR/aux-var/std_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 domainlist local_domains = @
12 hostlist relay_hosts = net-pgsql;select * from them where \
13 id='$sender_host_address'
15 acl_smtp_rcpt = check_recipient
17 pgsql_servers = SERVERS
25 accept domains = +local_domains
26 accept hosts = +relay_hosts
27 deny message = relay not permitted
36 address_data = ${lookup pgsql{select name from them where id='ph10'}}
40 # ----- Transports -----
46 file = DIR/test-mail/\
47 ${lookup pgsql{select id from them where id='ph10'}{$value}fail}