Re: [exim] Which headers are filterable ?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: lee
CC: exim-users
Tárgy: Re: [exim] Which headers are filterable ?
On Mon, 15 Aug 2005, lee wrote:
>
> I ask because I think/suspect some headers are in the 'envelope' which will
> not be visible to the filter file ... ??


No, header fields are in the message header.

> I am particularly confused about the syntax/logic for filtering on the
> Reply-to: header; I believe I should be doing that using $reply_address .....
> ??
> Or does that mean something other than the (mail list) reply-to address at the
> filter file stage?


The documentation says:

$reply_address: The contents of the "Reply-to:" header, if the message has
one; otherwise the contents of the "From:" header. It is the address to
which normal replies to the message should be sent.

Note that header variables start with $h_ or $header_. The other variables
are usually not related to the message header.

> Finally, I'd also like to ask if I can set a filter to look
> conditionally at the same header more than once in one filter;


Yes of course.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}