Don't set $sender_host_name if forward lookup of name obtained from
[users/jgh/exim.git] / test / confs / 0224
1 # Exim test configuration 0224
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 queue_run_in_order
15
16 delay_warning = 1s
17 delay_warning_condition = ${if first_delivery{no}{yes}}
18
19
20 # ----- Routers -----
21
22 begin routers
23
24 alias:
25   driver = redirect
26   allow_defer
27   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
28   file_transport = address_file
29   retry_use_local_part
30
31 halias:
32   driver = redirect
33   allow_defer
34   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.haliases}}
35   hide_child_in_errmsg
36   retry_use_local_part
37
38 localuser:
39   driver = accept
40   local_parts = CALLER
41   retry_use_local_part
42   transport = local_delivery
43
44
45 # ----- Transports -----
46
47 begin transports
48
49 local_delivery:
50   driver = appendfile
51   delivery_date_add
52   envelope_to_add
53   file = DIR/test-mail/$local_part
54   return_path_add
55   user = CALLER
56
57 address_file:
58   driver = appendfile
59   user = CALLER
60
61
62 # ----- Retry -----
63
64
65 begin retry
66
67 * * F,1d,10m
68
69
70 # End