Re: [exim] Default Filter

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Evgeniy Berdnikov
Datum:  
To: exim-users
Neue Treads: [exim] An error message that elludes me
Betreff: Re: [exim] Default Filter
On Mon, Jan 12, 2015 at 02:09:53PM -0700, Gmail wrote:
> Is there any way to setup a default userl-level filter that gets created
> when an email account is created? If the filter is unwanted the user can
> then delete it.


There may be numerous variations of "email account", "user filter", etc.
For example, in case of local unix accounts and files in home directories,
the 600_exim4-config_userforward config part (from Debian distro) offers:

userforward:
debug_print = "R: userforward for $local_part@$domain"
driver = redirect
domains = +local_domains
check_local_user
file = $home/.forward
require_files = $local_part:$home/.forward
allow_filter
...

File ".forward" can be set as skeleton template for adduser utility.
--
Eugene Berdnikov