Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0032 |
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 | |
13 | ||
14 | # ----- Main settings ----- | |
15 | ||
0e22dfd1 | 16 | dsn_from = MailProgram <xyz@some.where> |
afda344b PH |
17 | |
18 | ||
19 | # ----- Routers ----- | |
20 | ||
21 | begin routers | |
22 | ||
23 | localuser: | |
24 | driver = accept | |
25 | check_local_user | |
26 | transport = local_delivery | |
27 | ||
28 | others: | |
29 | driver = dnslookup | |
30 | transport = smtp | |
31 | self = fail | |
32 | ||
33 | ||
34 | # ----- Transports ----- | |
35 | ||
36 | begin transports | |
37 | ||
38 | local_delivery: | |
39 | driver = appendfile | |
40 | delivery_date_add | |
41 | envelope_to_add | |
42 | file = DIR/test-mail/$local_part | |
43 | return_path_add | |
44 | ||
45 | smtp: | |
46 | driver = smtp | |
47 | ||
48 | ||
49 | # End |