EXPERIMENTAL_DSN: use the SMTP return messsage for Diagnostic-Code lines. Bug 1559
[users/heiko/exim.git] / test / confs / 0306
1 # Exim test configuration 0306
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = rcpt
14 trusted_users = CALLER
15
16
17 # ------ ACLs ------
18
19 begin acl
20
21 rcpt:
22   accept endpass
23          verify = recipient
24
25
26 # ------ Routers ------
27
28 begin routers
29
30 r1:
31   driver = redirect
32   domains = lists.test.ex
33   local_part_suffix = -request
34   file = DIR/aux-fixed/TESTNUM/$local_part$local_part_suffix
35
36 r2:
37   driver = redirect
38   domains = lists.test.ex
39   senders = ${if exists {DIR/aux-fixed/TESTNUM/$local_part}\
40              {lsearch;DIR/aux-fixed/TESTNUM/$local_part}{*}}
41   file = DIR/aux-fixed/TESTNUM/$local_part
42   forbid_pipe
43   forbid_file
44   one_time
45   skip_syntax_errors
46   errors_to = $local_part-request@lists.test.ex
47   syntax_errors_to = $local_part-request@lists.test.ex
48
49 r3:
50   driver = redirect
51   domains = lists.test.ex
52   allow_fail
53   data = :fail: $local_part@lists.test.ex is a closed mailing list
54
55 r4:
56   driver = accept
57   senders = :
58   transport = t1
59
60 r5:
61   driver = accept
62   transport = t2
63
64
65 # ------ Transports ------
66
67 begin transports
68
69 t1:
70   driver = appendfile
71   file = DIR/test-mail/$local_part
72   user = CALLER
73
74 t2:
75   driver = appendfile
76   file = /dev/null
77   user = CALLER
78
79 # End