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

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: Troy Engel
CC: exim users
Assumpte: 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.