Merge branch 'master' into transp_logging_1031
[users/jgh/exim.git] / test / confs / 5204
1 # Exim test configuration 5204
2
3 COMMAND_USER=EXIMUSER
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 acl_smtp_rcpt = accept verify = recipient
17 domainlist local_domains = test.ex
18
19 # ----- Routers -----
20
21 begin routers
22
23 b:
24   driver = accept
25   senders = :
26   transport = local_delivery
27
28 q:
29   driver = queryprogram
30   caseful_local_part
31   command = /bin/echo \
32     "${if match{$local_part}{^\"([^\"]*)\"(.*)\\$}{$1$2}{$local_part}}"
33   command_user = COMMAND_USER
34   domains = ! +local_domains
35   no_more
36   transport = smtp
37
38 s:
39   driver = manualroute
40   domains = ! +local_domains
41   route_list = * 127.0.0.1 byname
42   self = send
43   transport = smtp
44   no_more
45
46 pm:
47   driver = accept
48   local_parts = postmaster
49   retry_use_local_part
50   transport = null
51
52
53 # ----- Transports -----
54
55 begin transports
56
57 smtp:
58   driver = smtp
59
60 other_smtp:
61   driver = smtp
62
63 null:
64   driver = appendfile
65   file = /dev/null
66   user = CALLER
67
68 local_delivery:
69   driver = appendfile
70   file = DIR/test-mail/$local_part
71   user = CALLER
72
73
74 # ----- Retry -----
75
76 begin retry
77
78 * * F,2h,15m
79
80
81 # End