X-Git-Url: http://git.hcoop.net/hcoop/zz_old/config/exim4-hopper.git/blobdiff_plain/725c987443e190c749c9d5975c704d0f35f595ff..639f204c83ed9d44f251470c512371ccbcc0159a:/conf.d/router/600_exim4-config_userforward diff --git a/conf.d/router/600_exim4-config_userforward b/conf.d/router/600_exim4-config_userforward index 2b71cc0..6d24e7b 100644 --- a/conf.d/router/600_exim4-config_userforward +++ b/conf.d/router/600_exim4-config_userforward @@ -1,9 +1,10 @@ -# router/600_exim4-config_userforward +### router/600_exim4-config_userforward ################################# # This router handles forwarding using traditional .forward files in users' -# home directories and filtering with exim's builtin filter language. +# home directories. It also allows mail filtering with a forward file +# starting with the string "# Exim filter" or "# Sieve filter". # # The no_verify setting means that this router is skipped when Exim is # verifying addresses. Similarly, no_expn means that this router is skipped if @@ -17,17 +18,22 @@ # 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. Also, use +# .public/.forward rather than .forward. + userforward: debug_print = "R: userforward for $local_part@$domain" driver = redirect - domains = +local_domains + domains = +unix_domains check_local_user - file = $home/.forward + file = $home/.public/.forward + require_files = $local_part:$home/.public/.forward no_verify no_expn check_ancestor allow_filter + forbid_smtp_code = true directory_transport = address_directory file_transport = address_file pipe_transport = address_pipe