Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0030 |
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 | # ----- Main settings ----- | |
14 | ||
15 | acl_smtp_rcpt = check_rcpt | |
16 | ||
17 | ||
18 | # ------ ACL ------ | |
19 | ||
20 | begin acl | |
21 | ||
22 | check_rcpt: | |
23 | accept message = <<$address_data>> | |
24 | verify = recipient | |
25 | message = >>$address_data<< | |
26 | condition = no | |
27 | ||
28 | ||
29 | # ------ Routers ------ | |
30 | ||
31 | begin routers | |
32 | ||
33 | r1: | |
34 | driver = accept | |
35 | address_data = data from accept router | |
36 | local_parts = OK | |
37 | transport = t1 | |
38 | ||
39 | # Always declines, but sets $address_data | |
40 | ||
41 | r2: | |
42 | driver = redirect | |
43 | address_data = data from redirect router | |
44 | data = | |
45 | ||
46 | ||
47 | # ------ Transports ------ | |
48 | ||
49 | begin transports | |
50 | ||
51 | t1: | |
52 | driver = appendfile | |
53 | file = /dev/null | |
54 | ||
55 | # End |