testsuite: abstract out common conf settings
[exim.git] / test / confs / 9200
CommitLineData
afda344b
PH
1# Exim test configuration 9200
2
3SERVERS=localhost/test/ph10/
4
d4dc049f
JH
5.include DIR/aux-var/std_conf_prefix
6
afda344b 7primary_hostname = myhost.test.ex
afda344b
PH
8
9# ----- Main settings -----
10
11domainlist local_domains = @
12hostlist relay_hosts = net-pgsql;select * from them where \
13 id='$sender_host_address'
14
15acl_smtp_rcpt = check_recipient
16
17pgsql_servers = SERVERS
18
19
20# ----- ACL -----
21
22begin acl
23
24check_recipient:
25 accept domains = +local_domains
26 accept hosts = +relay_hosts
27 deny message = relay not permitted
28
29
30# ----- Routers -----
31
32begin routers
33
34r1:
35 driver = accept
36 address_data = ${lookup pgsql{select name from them where id='ph10'}}
37 transport = t1
38
39
40# ----- Transports -----
41
42begin transports
43
44t1:
45 driver = appendfile
46 file = DIR/test-mail/\
47 ${lookup pgsql{select id from them where id='ph10'}{$value}fail}
48 user = CALLER
49
50
51# End