Re: [exim] Global config to filter per-user globally?

Top Pagina
Delete this message
Reply to this message
Auteur: Jakob Hirsch
Datum:  
Aan: Troy Engel
CC: exim users
Onderwerp: Re: [exim] Global config to filter per-user globally?
Quoting Troy Engel:

> My initial guess is some permutation of the 'localuser' router with a
> global filter that triggers a custom transport (based on
> 'local_delivery') that uses ${home}/Maildir/.Junk maybe? Any ideas?


local_delivery:
driver = appendfile
...
maildir_format
directory = /var/spool/vmail/Maildir/\
${if eq {$h_X-Spam:}{Yes} {.Junk/}}


another (probably neater) way would be to duplicate the userforward
router and read a system-global forward file (/etc/exim/forward) instead
of $home/.forward.