Add cmdline option to append a log message. Bug 418
[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 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = accept verify = recipient
16 domainlist local_domains = test.ex
17
18 # ----- Routers -----
19
20 begin routers
21
22 b:
23   driver = accept
24   senders = :
25   transport = local_delivery
26
27 q:
28   driver = queryprogram
29   caseful_local_part
30   command = /bin/echo \
31     "${if match{$local_part}{^\"([^\"]*)\"(.*)\\$}{$1$2}{$local_part}}"
32   command_user = COMMAND_USER
33   domains = ! +local_domains
34   no_more
35   transport = smtp
36
37 s:
38   driver = manualroute
39   domains = ! +local_domains
40   route_list = * 127.0.0.1 byname
41   self = send
42   transport = smtp
43   no_more
44
45 pm:
46   driver = accept
47   local_parts = postmaster
48   retry_use_local_part
49   transport = null
50
51
52 # ----- Transports -----
53
54 begin transports
55
56 smtp:
57   driver = smtp
58
59 other_smtp:
60   driver = smtp
61
62 null:
63   driver = appendfile
64   file = /dev/null
65   user = CALLER
66
67 local_delivery:
68   driver = appendfile
69   file = DIR/test-mail/$local_part
70   user = CALLER
71
72
73 # ----- Retry -----
74
75 begin retry
76
77 * * F,2h,15m
78
79
80 # End