Sieve: add redirect router option for inbox name
[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 .ifdef OPT
11 hostlist   relay_hosts = sqlite,file=DIR/aux-fixed/sqlitedb; \
12                                      select * from them where \
13                                      id='$sender_host_address'
14 .else
15 hostlist   relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
16                                      select * from them where \
17                                      id='$sender_host_address'
18 .endif
19
20 acl_smtp_rcpt = check_recipient
21 sqlite_lock_timeout = 2
22
23 .ifdef DATA
24 sqlite_dbfile = DATA
25 .endif
26
27 # ----- ACL -----
28
29 begin acl
30
31 check_recipient:
32   accept  domains = +local_domains
33   accept  hosts = +relay_hosts
34   deny    message = relay not permitted
35
36
37 # ----- Routers -----
38
39 begin routers
40
41 r1:
42   driver = accept
43   address_data = ${lookup sqlite \
44     {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
45   transport = t1
46
47
48 # ----- Transports -----
49
50 begin transports
51
52 t1:
53   driver = appendfile
54   file = DIR/test-mail/\
55     ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\
56       {$value}fail}
57   user = CALLER
58
59
60 # End