Expansions: fix forced-fail of extract. Bug 1815
[users/heiko/exim.git] / test / confs / 0136
1 # Exim test configuration 0136
2
3 BRB=true
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12 tls_advertise_hosts =
13
14 # ----- Main settings -----
15
16 domainlist local_domains = test.ex
17
18 acl_smtp_rcpt = check_recipient
19 bounce_return_body = BRB
20 qualify_domain = test.ex
21 ignore_bounce_errors_after = 0s
22 trusted_users = CALLER
23
24
25 # ------ ACL ------
26
27 begin acl
28
29 check_recipient:
30   accept  hosts = :
31
32
33 # ----- Routers -----
34
35 begin routers
36
37 fail_remote_domains:
38   driver = redirect
39   domains = ! +local_domains
40   allow_fail
41   data = :fail: unrouteable mail domain "$domain" (:fail:)
42
43 forward:
44   driver = redirect
45   allow_filter
46   user = CALLER
47   no_check_local_user
48   file = DIR/aux-fixed/TESTNUM.filter
49   local_parts = forwarder : forwarder2
50   retry_use_local_part
51
52 unknown:
53   driver = redirect
54   allow_defer
55   allow_fail
56   data = :fail: Address unknown (:fail:)
57   local_parts = unknown
58   retry_use_local_part
59
60 smart:
61   driver = accept
62   retry_use_local_part
63   transport = local_delivery
64
65
66 # ----- Transports -----
67
68 begin transports
69
70 local_delivery:
71   driver = appendfile
72   file = DIR/test-mail/$local_part
73   user = CALLER
74
75
76 # ----- Retry -----
77
78
79 begin retry
80
81 *        *
82
83
84 # End