Patch imported from bugzilla 1031. Axel Rau.
[users/jgh/exim.git] / test / confs / 5207
1 # Exim test configuration 5207
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 qualify_domain = test.ex
15
16 # ----- Transports -----
17
18 begin transports
19
20 t1:
21   driver = appendfile
22   file = DIR/test-mail/${if eq{$address_data}{}{$local_part}{$address_data}}
23   user = CALLER
24
25 # ----- Routers -----
26
27 begin routers
28
29 # Delivered without changing address_data
30
31 nodata:
32   driver = accept
33   local_parts = nodata
34   transport = t1
35
36 r6:
37   driver = queryprogram
38   domains = r6
39   address_data = qpgm
40   command = /bin/echo ACCEPT transport=t1
41   command_user = nobody
42
43 r7:
44   driver = queryprogram
45   domains = r7
46   address_data = qpgm
47   command = /bin/echo redirect nodata@test.ex
48   command_user = nobody
49
50 # ----- Retry -----
51
52 begin retry
53
54 *                *   F,5d,5m
55
56 # End