update to pre-4.87 master
[users/heiko/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 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
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