Taint: fix radius expansion condition
[users/heiko/exim.git] / test / confs / 2600
1 # Exim test configuration 2600
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 domainlist local_domains = @
10 hostlist   relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
11                                      select * from them where \
12                                      id='$sender_host_address'
13
14 acl_smtp_rcpt = check_recipient
15 sqlite_lock_timeout = 2
16
17 .ifdef DATA
18 sqlite_dbfile = DATA
19 .endif
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   accept  domains = +local_domains
27   accept  hosts = +relay_hosts
28   deny    message = relay not permitted
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 r1:
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
44 begin transports
45
46 t1:
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