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