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