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.




-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to