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