# The four transports specified at the end are those that are used when
# forwarding generates a direct delivery to a directory, or a file, or to a
# pipe, or sets up an auto-reply, respectively.
-#
+
+# hcoop-change: Use unix_domains rather than local_domains. Use
+# .public/.forward rather than .forward. Do not verify the owner and
+# group of the .forward file.
+
userforward:
debug_print = "R: userforward for $local_part@$domain"
driver = redirect
- domains = +local_domains
+ domains = +unix_domains
check_local_user
- file = $home/.forward
- require_files = $local_part:$home/.forward
+ check_owner = false
+ check_group = false
+ file = $home/.public/.forward
+ require_files = $local_part:$home/.public/.forward
no_verify
no_expn
check_ancestor
allow_filter
forbid_smtp_code = true
+# forbid_filter_run = true
+# forbid_pipe = true
directory_transport = address_directory
file_transport = address_file
pipe_transport = address_pipe