e6ab3f692c390872bdf78ebb8f749d8956daad2e
[exim.git] / test / confs / 0569
1 # Exim test configuration 0569
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_smtp_mail = check_from
15 acl_smtp_rcpt = accept
16 acl_smtp_data = check_message
17
18 recipient_unqualified_hosts = V4NET.10.10.9
19
20 # ----- ACL -----
21
22 begin acl
23
24 check_from:
25   accept senders = usery@exim.test.ex
26          set acl_m_message = I do not like your message
27   accept
28
29 check_message:
30   require message = ${if def:acl_m_message {$acl_m_message}}
31           verify = header_names_ascii
32   accept
33
34 # End