Add cmdline option to append a log message. Bug 418
[users/jgh/exim.git] / test / confs / 0496
1 # Exim test configuration 0496
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 = check_rcpt
14
15
16 # ----- ACL -----
17
18 begin acl
19
20 check_rcpt:
21   warn     message = data1 data1\ndata2 data2\n
22   warn     message = \n\ndata3\n\ndata4\n\n
23   warn     message = :after_received:After-Received: some text\n\
24                      :at_start:At-Start: some text\n\
25                      :at_end:  At-End: some text
26   warn     message = data4
27   warn     add_header = X-multiline: foo\n\tbar
28   accept   logwrite = $headers_added
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 r9:
36   driver = accept
37   transport = t1
38
39
40 # ----- Transports -----
41
42 begin transports
43
44 t1:
45   driver = appendfile
46   file = DIR/test-mail/$local_part
47   user = CALLER
48
49 # End