debian experimental exim-daemon-heavy config
[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
298849d8
JH
17.ifdef DATA
18sqlite_dbfile = DATA
19.endif
afda344b
PH
20
21# ----- ACL -----
22
23begin acl
24
25check_recipient:
26 accept domains = +local_domains
27 accept hosts = +relay_hosts
28 deny message = relay not permitted
29
30
31# ----- Routers -----
32
33begin routers
34
35r1:
36 driver = accept
37 address_data = ${lookup sqlite \
38 {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
39 transport = t1
40
41
42# ----- Transports -----
43
44begin transports
45
46t1:
47 driver = appendfile
48 file = DIR/test-mail/\
49 ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\
50 {$value}fail}
51 user = CALLER
52
53
54# End