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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Troy Engel
Fecha:  
A: exim-users
Asunto: Re: [exim] Global config to filter per-user globally?
Jakob Hirsch wrote:
>
>>>  directory = /var/spool/vmail/Maildir/\
>>>    ${if eq {$h_X-Spam:}{Yes} {.Junk/}}

>
> Oh. That should've been
> directory = $home/Maildir/...


Oh yeah completely, I ran with it -- it actually looks like:

   directory = ${home}/Maildir/\
     ${if eq {$h_X-Spam-Flag:}{YES} {.Junk/}}


Since X-Spam-Flag is always stripped on the drop into spamc/spamd, then
re-added as needed. So, it's the clear marker that I know my SA put it
there, and it's not an errant header. :)

-te

--
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com