Commit | Line | Data |
---|---|---|
770747fd MFM |
1 | # Exim test configuration 0569 |
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_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 |