Commit | Line | Data |
---|---|---|
770747fd MFM |
1 | # Exim test configuration 0569 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
770747fd MFM |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.test.ex | |
770747fd MFM |
7 | spool_directory = DIR/spool |
8 | log_file_path = DIR/spool/log/%slog | |
9 | gecos_pattern = "" | |
10 | gecos_name = CALLER_NAME | |
23f3dc67 | 11 | tls_advertise_hosts = |
770747fd MFM |
12 | |
13 | # ----- Main settings ----- | |
14 | ||
15 | acl_smtp_mail = check_from | |
16 | acl_smtp_rcpt = accept | |
17 | acl_smtp_data = check_message | |
18 | ||
19 | recipient_unqualified_hosts = V4NET.10.10.9 | |
20 | ||
21 | # ----- ACL ----- | |
22 | ||
23 | begin acl | |
24 | ||
25 | check_from: | |
26 | accept senders = usery@exim.test.ex | |
27 | set acl_m_message = I do not like your message | |
28 | accept | |
29 | ||
30 | check_message: | |
31 | require message = ${if def:acl_m_message {$acl_m_message}} | |
32 | verify = header_names_ascii | |
33 | accept | |
34 | ||
35 | # End |