testsuite: abstract out common conf settings
[exim.git] / test / confs / 2600
CommitLineData
afda344b
PH
1# Exim test configuration 2600
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 = sqlite;DIR/aux-fixed/sqlitedb \
11 select * from them where \
12 id='$sender_host_address'
13
14acl_smtp_rcpt = check_recipient
15sqlite_lock_timeout = 2
16
17
18# ----- ACL -----
19
20begin acl
21
22check_recipient:
23 accept domains = +local_domains
24 accept hosts = +relay_hosts
25 deny message = relay not permitted
26
27
28# ----- Routers -----
29
30begin routers
31
32r1:
33 driver = accept
34 address_data = ${lookup sqlite \
35 {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
36 transport = t1
37
38
39# ----- Transports -----
40
41begin transports
42
43t1:
44 driver = appendfile
45 file = DIR/test-mail/\
46 ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\
47 {$value}fail}
48 user = CALLER
49
50
51# End