bugzilla 612 - write recipients list in X-Envelope-To header of MBOX spool file
[exim.git] / test / confs / 0539
1 # Exim test configuration 0539
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 acl_not_smtp = not_smtp
15 acl_smtp_mail = check_mail
16 acl_smtp_rcpt = check_rcpt
17 acl_smtp_predata = predata
18
19
20 # ----- ACLs -----
21
22 begin acl
23
24 check_mail:
25   deny  senders = main@test.ex
26         log_reject_target = main
27   deny  senders = reject@test.ex
28         log_reject_target = reject
29   deny  senders = both@test.ex
30         log_reject_target = <, main, reject
31   deny  senders = panic@test.ex
32         log_reject_target = panic
33   deny  senders = none@test.ex
34         log_reject_target =
35   accept
36
37 check_rcpt:
38   deny  local_parts = main
39         log_reject_target = main
40   deny  local_parts = reject
41         log_reject_target = reject
42   deny  local_parts = both
43         log_reject_target = <, main, reject
44   deny  local_parts = panic
45         log_reject_target = panic
46   deny  local_parts = none
47         log_reject_target =
48   accept
49
50 predata:
51   deny  log_reject_target = main
52         log_message = Not today
53
54 not_smtp:
55   deny  log_reject_target = reject
56         log_message = Nyet
57
58
59 # End