4fb4f767e2a97ddfbd010dc76183370e7859a63c
[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 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 # ----- Transports -----
16
17 begin transports
18
19 t1:
20   driver = appendfile
21   file = DIR/test-mail/${if eq{$address_data}{}{$local_part}{$address_data}}
22   user = CALLER
23
24 # ----- Routers -----
25
26 begin routers
27
28 # Delivered without changing address_data
29
30 nodata:
31   driver = accept
32   local_parts = nodata
33   transport = t1
34
35 r6:
36   driver = queryprogram
37   domains = r6
38   address_data = qpgm
39   command = /bin/echo ACCEPT transport=t1
40   command_user = nobody
41
42 r7:
43   driver = queryprogram
44   domains = r7
45   address_data = qpgm
46   command = /bin/echo redirect nodata@test.ex
47   command_user = nobody
48
49 # ----- Retry -----
50
51 begin retry
52
53 *                *   F,5d,5m
54
55 # End