Add cmdline option to append a log message. Bug 418
[users/heiko/exim.git] / test / confs / 0351
1 # Exim test configuration 0351
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 domainlist local_domains = test.ex
13
14 qualify_domain = test.ex
15 system_filter = DIR/aux-fixed/TESTNUM.F
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 r1:
23   driver = accept
24   transport = t1
25   headers_add = ${if !eq{$h_found2:}{}{FOUND-found2: !!}fail}
26
27 # ----- Transports -----
28
29 begin transports
30
31 t1:
32   driver = appendfile
33   user = CALLER
34   file = DIR/test-mail/$local_part
35   headers_add = "\n\
36                 TO: $h_to:\n\
37                 --------------------------------\n\
38                 CC: $h_cc:\n\
39                 --------------------------------\n\
40                 RESENT-TO: $h_resent-to:\n\
41                 --------------------------------\n\
42                 REPLY-TO: $h_reply-to:\n\
43                 --------------------------------\n\
44                 SUBJECT: $h_subject:\n\
45                 --------------------------------\n\
46                 ALL: $message_headers\n\
47                 "
48
49 # End