Add recognition of SMTP error codes in bespoke messages.
[users/jgh/exim.git] / test / confs / 0252
1 # Exim test configuration 0252
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
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 : *.test.ex
15 trusted_users = CALLER
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 a:
23   driver = redirect
24   allow_defer
25   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
26   errors_to = alias@test.ex
27   retry_use_local_part
28
29 f:
30   driver = redirect
31   no_check_local_user
32   errors_to = forward@test.ex
33   file = DIR/aux-fixed/TESTNUM.forward
34   local_parts = forward
35   retry_use_local_part
36
37 s:
38   driver = redirect
39   allow_defer
40   data = from-smart@test.ex
41   errors_to = smart@test.ex
42   local_parts = smart
43   retry_use_local_part
44
45 u:
46   driver = accept
47   errors_to = postmaster@test.ex
48   retry_use_local_part
49   transport = t1
50   unseen
51
52 z:
53   driver = accept
54   retry_use_local_part
55   transport = t2
56
57
58 # ----- Transports -----
59
60 begin transports
61
62 t1:
63   driver = appendfile
64   file = DIR/test-mail/t1
65   return_path_add
66   user = CALLER
67
68 t2:
69   driver = appendfile
70   file = DIR/test-mail/t2
71   return_path_add
72   user = CALLER
73
74
75 # ----- Retry -----
76
77
78 begin retry
79
80 * * F,5d,10s
81
82
83 # End