# This router handles forwarding using traditional .forward files. # It also allows mail filtering when a forward file starts with the # string "# Exim filter": to disable filtering, uncomment the "filter" # option. The check_ancestor option means that if the forward file # generates an address that is an ancestor of the current one, the # current one gets passed on instead. This covers the case where A is # aliased to B and B has a .forward file pointing to A. # For standard debian setup of one group per user, it is acceptable---normal # even---for .forward to be group writable. If you have everyone in one # group, you should comment out the "modemask" line. Without it, the exim # default of 022 will apply, which is probably what you want. userforward: debug_print = "R: userforward for $local_part@$domain" driver = redirect allow_filter check_ancestor check_local_user # Not specifying the directory forces exim to do a stat on $home first, and # defer if NFS is hosed file = $home/.forward # See spec file chapter 41.7 local_part_suffix = +* local_part_suffix_optional modemask = 002 file_transport = address_file pipe_transport = address_pipe directory_transport = address_directory reply_transport = address_reply no_verify # On my site expn is used to map user aliases to the main login name. I do # not want for expn to show me what's in .forward, be it another Email or # a call to a script. Comment no_expn if you want that behavior -- Marc no_expn