Test for proper parsing of optional MAIL FROM args.
[users/heiko/exim.git] / test / confs / 0330
1 # Exim test configuration 0330
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 qualify_domain = test.ex
14
15
16 # ----- Routers -----
17
18 begin routers
19
20 alias:
21   driver = redirect
22   data = ${if eq {$local_part}{UserY}{userz1}\
23           {${if eq {$local_part}{usery}{userz2}{}}}}
24   caseful_local_part
25
26 forward:
27   driver = redirect
28   check_ancestor
29   no_check_local_user
30   file = DIR/aux-fixed/TESTNUM.forward
31
32 deliver:
33   driver = accept
34   local_parts = ^userz
35   transport = appendfile
36
37
38 # ----- Transports -----
39
40 begin transports
41
42 appendfile:
43   driver = appendfile
44   envelope_to_add
45   file = DIR/test-mail/$local_part
46   user = CALLER
47
48
49 # End