Events: log a non-success when a client connect is denied by an event
[users/jgh/exim.git] / test / confs / 0105
1 # Exim test configuration 0105
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 acl_smtp_rcpt = check_recipient
9 acl_smtp_data = check_message
10
11 domainlist local_domains = test.ex
12 qualify_domain = test.ex
13
14
15 # ----- Routers -----
16
17 begin routers
18
19 userlist:
20   driver = accept
21   condition = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.list}}
22   retry_use_local_part
23   transport = local_delivery
24
25 default:
26   driver = redirect
27   data = default@$domain
28   redirect_router = default_part2
29   retry_use_local_part
30
31 default_part2:
32   driver = accept
33   condition = ${if eq{$local_part@$domain}{default@$domain}{yes}{no}}
34   transport = local_delivery
35
36
37 # ----- Transports -----
38
39 begin transports
40
41 local_delivery:
42   driver = appendfile
43   delivery_date_add
44   envelope_to_add
45   file = DIR/test-mail/$local_part
46   return_path_add
47   user = CALLER
48
49 # End