Events: Fix crash on control=debug from transport event acl. Bug 1540
[exim.git] / test / confs / 0136
1 # Exim test configuration 0136
2
3 BRB=true
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
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 = test.ex
15
16 acl_smtp_rcpt = check_recipient
17 bounce_return_body = BRB
18 qualify_domain = test.ex
19 ignore_bounce_errors_after = 0s
20 trusted_users = CALLER
21
22
23 # ------ ACL ------
24
25 begin acl
26
27 check_recipient:
28   accept  hosts = :
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 fail_remote_domains:
36   driver = redirect
37   domains = ! +local_domains
38   allow_fail
39   data = :fail: unrouteable mail domain "$domain" (:fail:)
40
41 forward:
42   driver = redirect
43   allow_filter
44   user = CALLER
45   no_check_local_user
46   file = DIR/aux-fixed/TESTNUM.filter
47   local_parts = forwarder : forwarder2
48   retry_use_local_part
49
50 unknown:
51   driver = redirect
52   allow_defer
53   allow_fail
54   data = :fail: Address unknown (:fail:)
55   local_parts = unknown
56   retry_use_local_part
57
58 smart:
59   driver = accept
60   retry_use_local_part
61   transport = local_delivery
62
63
64 # ----- Transports -----
65
66 begin transports
67
68 local_delivery:
69   driver = appendfile
70   file = DIR/test-mail/$local_part
71   user = CALLER
72
73
74 # ----- Retry -----
75
76
77 begin retry
78
79 *        *
80
81
82 # End