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