Add test skeleton
[users/jgh/exim.git] / test / confs / 0208
1 # Exim test configuration 0208
2
3 MESSAGE_LOGS = true
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 domainlist local_domains = test.ex
17
18 message_logs = MESSAGE_LOGS
19 qualify_domain = test.ex
20 ignore_bounce_errors_after = 0s
21
22
23 # ----- Routers -----
24
25 begin routers
26
27 fail_remote_domains:
28   driver = redirect
29   domains = ! +local_domains
30   allow_fail
31   data = :fail: unrouteable mail domain "$domain"
32
33 ok:
34   driver = accept
35   local_parts = ok
36   retry_use_local_part
37   transport = succeed
38
39 defer:
40   driver = redirect
41   allow_defer
42   data = :defer: don't do this yet
43   local_parts = defer
44   retry_use_local_part
45
46 fail_transport:
47   driver = accept
48   local_parts = fail.transport
49   retry_use_local_part
50   transport = fail
51
52
53 # ----- Transports -----
54
55 begin transports
56
57 succeed:
58   driver = appendfile
59   file = /dev/null
60   user = CALLER
61
62 fail:
63   driver = smtp
64   allow_localhost
65   hosts = 127.0.0.1
66   port = PORT_S
67
68
69 # ----- Retry -----
70
71
72 begin retry
73
74 * * F,1d,10m
75
76
77 # End