Merge from master into 4.next
[users/heiko/exim.git] / test / confs / 0539
1 # Exim test configuration 0539
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_not_smtp = not_smtp
10 acl_smtp_mail = check_mail
11 acl_smtp_rcpt = check_rcpt
12 acl_smtp_predata = predata
13
14
15 # ----- ACLs -----
16
17 begin acl
18
19 check_mail:
20   deny  senders = main@test.ex
21         log_reject_target = main
22   deny  senders = reject@test.ex
23         log_reject_target = reject
24   deny  senders = both@test.ex
25         log_reject_target = <, main, reject
26   deny  senders = panic@test.ex
27         log_reject_target = panic
28   deny  senders = none@test.ex
29         log_reject_target =
30   accept
31
32 check_rcpt:
33   deny  local_parts = main
34         log_reject_target = main
35   deny  local_parts = reject
36         log_reject_target = reject
37   deny  local_parts = both
38         log_reject_target = <, main, reject
39   deny  local_parts = panic
40         log_reject_target = panic
41   deny  local_parts = none
42         log_reject_target =
43   accept
44
45 predata:
46   deny  log_reject_target = main
47         log_message = Not today
48
49 not_smtp:
50   deny  log_reject_target = reject
51         log_message = Nyet
52
53
54 # End