Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0451 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b | 5 | primary_hostname = myhost.test.ex |
afda344b PH |
6 | |
7 | ||
8 | # ----- Main settings ----- | |
9 | ||
10 | qualify_domain = test.ex | |
11 | ||
12 | acl_smtp_rcpt = accept | |
13 | acl_smtp_data = data_check | |
14 | ||
15 | ||
16 | ||
17 | # ----- Routers ----- | |
18 | ||
19 | begin routers | |
20 | ||
21 | r1: | |
22 | driver = redirect | |
23 | allow_fail | |
24 | data = ${if eq{$local_part}{good}{}{:fail:custom message}} | |
25 | ||
26 | r2: | |
27 | driver = accept | |
28 | local_parts = good | |
29 | verify_only | |
30 | ||
31 | ||
32 | ||
33 | # ----- ACL ----- | |
34 | ||
35 | begin AcL | |
36 | ||
37 | data_check: | |
38 | accept message = message="$acl_verify_message" | |
39 | verify = sender | |
40 | ||
41 | ||
42 | # End |