Test for proper parsing of optional MAIL FROM args.
[users/heiko/exim.git] / test / confs / 0351
1 # Exim test configuration 0351
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
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 domainlist local_domains = test.ex
14
15 qualify_domain = test.ex
16 system_filter = DIR/aux-fixed/TESTNUM.F
17
18
19 # ----- Routers -----
20
21 begin routers
22
23 r1:
24   driver = accept
25   transport = t1
26   headers_add = ${if !eq{$h_found2:}{}{FOUND-found2: !!}fail}
27
28 # ----- Transports -----
29
30 begin transports
31
32 t1:
33   driver = appendfile
34   user = CALLER
35   file = DIR/test-mail/$local_part
36   headers_add = "\n\
37                 TO: $h_to:\n\
38                 --------------------------------\n\
39                 CC: $h_cc:\n\
40                 --------------------------------\n\
41                 RESENT-TO: $h_resent-to:\n\
42                 --------------------------------\n\
43                 REPLY-TO: $h_reply-to:\n\
44                 --------------------------------\n\
45                 SUBJECT: $h_subject:\n\
46                 --------------------------------\n\
47                 ALL: $message_headers\n\
48                 "
49
50 # End