Disable identd (rfc1413) lookups by default
[users/jgh/exim.git] / test / confs / 0274
1 # Exim test configuration 0274
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 # Passed to transport
36 r1:
37   driver = accept
38   domains = r1
39   address_data = abcd
40   transport = t1
41
42 # Passed on after decline
43
44 r2:
45   driver = redirect
46   domains = r2
47   address_data = xyz
48   file = /nonexist
49
50 r2a:
51   driver = accept
52   domains = r2
53   transport = t1
54
55 # Force fail declines
56
57 r3:
58   driver = accept
59   domains = r3
60   address_data = ${if eq {1}{0}{xxx}fail}
61   transport= t1
62
63 r3a:
64   driver = accept
65   domains = r3
66   transport = t1
67
68 # Unforced fail defers
69
70 r4:
71   driver = accept
72   domains = r4
73   address_data = ${if
74   transport = t1
75
76 # Check that redirect preserves
77
78 r5:
79   driver = redirect
80   domains = r5
81   address_data = redirect
82   data = nodata@test.ex
83
84
85 # ----- Retry -----
86
87 begin retry
88
89 *                *   F,5d,5m
90
91 # End