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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jakob Hirsch
Ημερομηνία:  
Προς: Troy Engel
Υ/ο: exim users
Αντικείμενο: 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.