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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jakob Hirsch
Date:  
À: Troy Engel
CC: exim users
Sujet: 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.