Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0446 |
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 = smtp_data | |
14 | acl_not_smtp = not_smtp | |
15 | ||
16 | ||
17 | #----- ACL ----- | |
18 | ||
19 | begin acl | |
20 | ||
21 | smtp_data: | |
22 | warn message = X-ACL: $received_count | |
23 | accept | |
24 | ||
25 | not_smtp: | |
26 | warn message = X-ACL: $received_count | |
27 | accept | |
28 | ||
29 | ||
30 | #----- Routers ----- | |
31 | ||
32 | begin routers | |
33 | ||
34 | r1: | |
35 | driver = accept | |
36 | transport = t1 | |
37 | headers_add = X-Router: $received_count | |
38 | ||
39 | ||
40 | # ----- Transports ----- | |
41 | ||
42 | begin transports | |
43 | ||
44 | t1: | |
45 | driver = appendfile | |
46 | file = DIR/test-mail/$local_part | |
47 | user = CALLER | |
48 | ||
49 | # End |