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