Re: [exim] variables at acls

Pàgina inicial
Delete this message
Reply to this message
Autor: Stanislaw Halik
Data:  
A: exim-users
Assumpte: Re: [exim] variables at acls
On Tue, Apr 11, 2006, Marten Lehmann wrote:
>> wild guess: expand a system filter either to a subject rewrite or to a
>> no-op.


> this wouldn't work:


> system_filter: This option specifies an Exim filter file that is applied
> to all messages at the start of each delivery attempt, before any
> routing is done.


sorry. i'll try to be more helpful now.

> We also handle email-forwardings and rewriting and adding headers shall
> only be done on incoming mail.


try adding:

headers_add = ${if your_condition {Subject: *SPAM* $h_subject}{}}
headers_remove = ${if your_condition {Subject}{}}

to your local delivery router, in which the header should be rewritten.

-- sh