Log lengthy DNS lookups. Bug 514
[exim.git] / test / confs / 0378
1 # Exim test configuration 0378
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 domainlist local_domains = test.ex
14
15
16 # ----- Routers -----
17
18 begin routers
19
20 bounce:
21   driver = redirect
22   senders = :
23   data = :blackhole:
24
25 defer:
26   driver = redirect
27   local_parts = ^defer
28   allow_defer
29   data = :defer: forced defer
30
31 aaaa_2nd_time:
32   driver = redirect
33   local_parts = aaaa
34   condition = ${if first_delivery{no}{yes}}
35   data = aaaa@$domain
36
37 aaaa:
38   driver = redirect
39   local_parts = aaaa
40   allow_filter
41   file_transport = t1
42   pipe_transport = t2
43   reply_transport = t3
44   user = CALLER
45   data = "# Exim filter\n\
46           deliver defer_aaaa@$domain\n\
47           save DIR/test-mail/file\n\
48           pipe \"/bin/sh -c exit\"\n\
49           mail subject autoreply\n\
50                text \"This is an autoreply\""
51
52
53 # ----- Transports -----
54
55 begin transports
56
57 t1:
58   driver = appendfile
59   user = CALLER
60
61 t2:
62   driver = pipe
63   user = CALLER
64
65 t3:
66   driver = autoreply
67   user = CALLER
68   initgroups
69
70
71 # ----- Retry -----
72
73 begin retry
74
75 * * F,5d,10s
76
77
78 # End