Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0050 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.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 | trusted_users = CALLER | |
11 | ||
12 | # ----- Main settings ----- | |
13 | ||
14 | acl_smtp_rcpt = check_recipient | |
15 | ||
16 | ||
17 | # ------ ACL ------ | |
18 | ||
19 | begin acl | |
20 | ||
21 | check_recipient: | |
22 | accept hosts = : | |
23 | deny message = relay not permitted | |
24 | ||
25 | ||
26 | # ----- Routers ----- | |
27 | ||
28 | begin routers | |
29 | ||
30 | localuser: | |
31 | driver = accept | |
32 | local_parts = userx | |
33 | transport = local_delivery | |
34 | ||
35 | ||
36 | # ----- Transports ----- | |
37 | ||
38 | begin transports | |
39 | ||
40 | local_delivery: | |
41 | driver = appendfile | |
42 | delivery_date_add | |
43 | envelope_to_add | |
44 | file = DIR/test-mail/$local_part | |
45 | return_path_add | |
46 | user = CALLER | |
47 | ||
48 | # End |