725c9874 |
1 | |
2 | # router/600_exim4-config_userforward |
3 | ################################# |
4 | |
5 | # This router handles forwarding using traditional .forward files in users' |
6 | # home directories and filtering with exim's builtin filter language. |
7 | # |
8 | # The no_verify setting means that this router is skipped when Exim is |
9 | # verifying addresses. Similarly, no_expn means that this router is skipped if |
10 | # Exim is processing an EXPN command. |
11 | # |
12 | # The check_ancestor option means that if the forward file generates an |
13 | # address that is an ancestor of the current one, the current one gets |
14 | # passed on instead. This covers the case where A is aliased to B and B |
15 | # has a .forward file pointing to A. |
16 | # |
17 | # The four transports specified at the end are those that are used when |
18 | # forwarding generates a direct delivery to a directory, or a file, or to a |
19 | # pipe, or sets up an auto-reply, respectively. |
20 | # |
21 | userforward: |
22 | debug_print = "R: userforward for $local_part@$domain" |
23 | driver = redirect |
24 | domains = +local_domains |
25 | check_local_user |
26 | file = $home/.forward |
27 | no_verify |
28 | no_expn |
29 | check_ancestor |
30 | allow_filter |
31 | directory_transport = address_directory |
32 | file_transport = address_file |
33 | pipe_transport = address_pipe |
34 | reply_transport = address_reply |
35 | skip_syntax_errors |
36 | syntax_errors_to = real-$local_part@$domain |
37 | syntax_errors_text = \ |
38 | This is an automatically generated message. An error has\n\ |
39 | been found in your .forward file. Details of the error are\n\ |
40 | reported below. While this error persists, you will receive\n\ |
41 | a copy of this message for every message that is addressed\n\ |
42 | to you. If your .forward file is a filter file, or if it is\n\ |
43 | a non-filter file containing no valid forwarding addresses,\n\ |
44 | a copy of each incoming message will be put in your normal\n\ |
45 | mailbox. If a non-filter file contains at least one valid\n\ |
46 | forwarding address, forwarding to the valid addresses will\n\ |
47 | happen, and those will be the only deliveries that occur. |
48 | |