Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0451 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b PH |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.test.ex | |
afda344b PH |
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 = |
afda344b PH |
12 | |
13 | ||
14 | # ----- Main settings ----- | |
15 | ||
16 | qualify_domain = test.ex | |
17 | ||
18 | acl_smtp_rcpt = accept | |
19 | acl_smtp_data = data_check | |
20 | ||
21 | ||
22 | ||
23 | # ----- Routers ----- | |
24 | ||
25 | begin routers | |
26 | ||
27 | r1: | |
28 | driver = redirect | |
29 | allow_fail | |
30 | data = ${if eq{$local_part}{good}{}{:fail:custom message}} | |
31 | ||
32 | r2: | |
33 | driver = accept | |
34 | local_parts = good | |
35 | verify_only | |
36 | ||
37 | ||
38 | ||
39 | # ----- ACL ----- | |
40 | ||
41 | begin AcL | |
42 | ||
43 | data_check: | |
44 | accept message = message="$acl_verify_message" | |
45 | verify = sender | |
46 | ||
47 | ||
48 | # End |