Another small test tweak.
[exim.git] / test / confs / 9200
CommitLineData
afda344b
PH
1# Exim test configuration 9200
2
3SERVERS=localhost/test/ph10/
4
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
8rfc1413_query_timeout = 0s
9spool_directory = DIR/spool
10log_file_path = DIR/spool/log/%slog
11gecos_pattern = ""
12gecos_name = CALLER_NAME
13
14# ----- Main settings -----
15
16domainlist local_domains = @
17hostlist relay_hosts = net-pgsql;select * from them where \
18 id='$sender_host_address'
19
20acl_smtp_rcpt = check_recipient
21
22pgsql_servers = SERVERS
23
24
25# ----- ACL -----
26
27begin acl
28
29check_recipient:
30 accept domains = +local_domains
31 accept hosts = +relay_hosts
32 deny message = relay not permitted
33
34
35# ----- Routers -----
36
37begin routers
38
39r1:
40 driver = accept
41 address_data = ${lookup pgsql{select name from them where id='ph10'}}
42 transport = t1
43
44
45# ----- Transports -----
46
47begin transports
48
49t1:
50 driver = appendfile
51 file = DIR/test-mail/\
52 ${lookup pgsql{select id from them where id='ph10'}{$value}fail}
53 user = CALLER
54
55
56# End