6df895759f668e453ee9d1854c0f118fbe88fc76
[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
11 # ----- Main settings -----
12
13 acl_not_smtp = not_smtp
14 acl_smtp_mail = check_mail
15 acl_smtp_rcpt = check_rcpt
16 acl_smtp_predata = predata
17
18
19 # ----- ACLs -----
20
21 begin acl
22
23 check_mail:
24   deny  senders = main@test.ex
25         log_reject_target = main
26   deny  senders = reject@test.ex
27         log_reject_target = reject
28   deny  senders = both@test.ex
29         log_reject_target = <, main, reject
30   deny  senders = panic@test.ex
31         log_reject_target = panic
32   deny  senders = none@test.ex
33         log_reject_target =
34   accept
35
36 check_rcpt:
37   deny  local_parts = main
38         log_reject_target = main
39   deny  local_parts = reject
40         log_reject_target = reject
41   deny  local_parts = both
42         log_reject_target = <, main, reject
43   deny  local_parts = panic
44         log_reject_target = panic
45   deny  local_parts = none
46         log_reject_target =
47   accept
48
49 predata:
50   deny  log_reject_target = main
51         log_message = Not today
52
53 not_smtp:
54   deny  log_reject_target = reject
55         log_message = Nyet
56
57
58 # End