Add test for deferral case
[users/jgh/exim.git] / test / confs / 2600
1 # Exim test configuration 2600
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = @
15 hostlist   relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
16                                      select * from them where \
17                                      id='$sender_host_address'
18
19 acl_smtp_rcpt = check_recipient
20 sqlite_lock_timeout = 2
21
22
23 # ----- ACL -----
24
25 begin acl
26
27 check_recipient:
28   accept  domains = +local_domains
29   accept  hosts = +relay_hosts
30   deny    message = relay not permitted
31
32
33 # ----- Routers -----
34
35 begin routers
36
37 r1:
38   driver = accept
39   address_data = ${lookup sqlite \
40     {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
41   transport = t1
42
43
44 # ----- Transports -----
45
46 begin transports
47
48 t1:
49   driver = appendfile
50   file = DIR/test-mail/\
51     ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\
52       {$value}fail}
53   user = CALLER
54
55
56 # End