Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0030 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
10 | ||
11 | # ----- Main settings ----- | |
12 | ||
13 | acl_smtp_rcpt = check_rcpt | |
14 | ||
15 | ||
16 | # ------ ACL ------ | |
17 | ||
18 | begin acl | |
19 | ||
20 | check_rcpt: | |
21 | accept message = <<$address_data>> | |
22 | verify = recipient | |
23 | message = >>$address_data<< | |
24 | condition = no | |
25 | ||
26 | ||
27 | # ------ Routers ------ | |
28 | ||
29 | begin routers | |
30 | ||
31 | r1: | |
32 | driver = accept | |
33 | address_data = data from accept router | |
34 | local_parts = OK | |
35 | transport = t1 | |
36 | ||
37 | # Always declines, but sets $address_data | |
38 | ||
39 | r2: | |
40 | driver = redirect | |
41 | address_data = data from redirect router | |
42 | data = | |
43 | ||
44 | ||
45 | # ------ Transports ------ | |
46 | ||
47 | begin transports | |
48 | ||
49 | t1: | |
50 | driver = appendfile | |
51 | file = /dev/null | |
52 | ||
53 | # End |