Testsuite: move testcase (requires plaintext authenticator)
[users/heiko/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 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 domainlist local_domains = @
14 hostlist   relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
15                                      select * from them where \
16                                      id='$sender_host_address'
17
18 acl_smtp_rcpt = check_recipient
19 sqlite_lock_timeout = 2
20
21
22 # ----- ACL -----
23
24 begin acl
25
26 check_recipient:
27   accept  domains = +local_domains
28   accept  hosts = +relay_hosts
29   deny    message = relay not permitted
30
31
32 # ----- Routers -----
33
34 begin routers
35
36 r1:
37   driver = accept
38   address_data = ${lookup sqlite \
39     {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
40   transport = t1
41
42
43 # ----- Transports -----
44
45 begin transports
46
47 t1:
48   driver = appendfile
49   file = DIR/test-mail/\
50     ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\
51       {$value}fail}
52   user = CALLER
53
54
55 # End