Re: [exim] Exim filtering: add headers?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: W B Hacker
Data:  
Para: exim users
Assunto: Re: [exim] Exim filtering: add headers?
John Robinson wrote:
> On 16/09/2006 17:41, W B Hacker wrote:
>
>> Headers can easily be added at smtp-time in acl's, or at delivery-time
>> in router/transport sets.
>>
>> Ordinarily not much need for Seive or filters for that.
>
>
> But that would be a system-wide configuration,


Not unless you want it to be...

> and I want to do this on
> a per-user basis.


We do per-user threshold comparisons for smtp protocol-violation 'demerits'
- and per-user spam threshold settings in ordinary acl's

AND - based on results, add selective headers that later determine if a message
is put into a specific folder, left alone, or discarded.

MAY be replacing the headers with acl_(x) variables.
That part not yet tested.

Either way - acl. Filter not needed.

A 'warn' verb preceding the tests pulls the per-user numbers and puts them into
acl_m variables.


> Essentially I don't want to foist things on users who
> don't want them but I want to do it for my own personal nefarious purposes.
>


Well 'rational' - not 'nefarious' ;-).


>> As far as having Dovecot index the messages as already read, you might
>> send them to a folder named 'Read'.
>>
>> ;-)
>
>
> But they're mailing list messages which deserve to be in the folder for
> the list. :-p
>


'Spose you could use the list name instead of 'Read'?

The right clever code would auto-create new folders for new lists?

> It's just my attempt at something like a news program's killfile, but
> for email. I want to mark the messages that probably aren't relevant to
> me but keep them around for context if necessary.
>


ACK. Done in Moz MUA here. Easier to alter.

Bill