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