Add cmdline option to append a log message. Bug 418
[users/jgh/exim.git] / test / confs / 0451
1 # Exim test configuration 0451
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
12 # ----- Main settings -----
13
14 qualify_domain = test.ex
15
16 acl_smtp_rcpt = accept
17 acl_smtp_data = data_check
18
19
20
21 # ----- Routers -----
22
23 begin routers
24
25 r1:
26   driver = redirect
27   allow_fail
28   data = ${if eq{$local_part}{good}{}{:fail:custom message}}
29
30 r2:
31   driver = accept
32   local_parts = good
33   verify_only
34
35
36
37 # ----- ACL -----
38
39 begin AcL
40
41 data_check:
42   accept   message = message="$acl_verify_message"
43            verify = sender
44
45
46 # End