Logging: connection_reject log selector should apply also to the connect acl
[users/jgh/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
18 # ----- ACL -----
19
20 begin acl
21
22 check_recipient:
23   accept  domains = +local_domains
24   accept  hosts = +relay_hosts
25   deny    message = relay not permitted
26
27
28 # ----- Routers -----
29
30 begin routers
31
32 r1:
33   driver = accept
34   address_data = ${lookup sqlite \
35     {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
36   transport = t1
37
38
39 # ----- Transports -----
40
41 begin transports
42
43 t1:
44   driver = appendfile
45   file = DIR/test-mail/\
46     ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\
47       {$value}fail}
48   user = CALLER
49
50
51 # End