Re: [exim] Which headers are filterable ?

Top Pagina
Delete this message
Reply to this message
Auteur: Adam Funk
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Which headers are filterable ?
On Wednesday 17 August 2005 14:23, Philip Hazel wrote:
> On Wed, 17 Aug 2005, Adam Funk wrote:
> > > if $header_reply-to: contains
> >
> > I think it should be "$header_reply-to" without the ":".
>
> It is more pedantically correct to terminate header names with : though
> if whitespace follows you can omit it. The reason is that most printing
> characters other than colon or whitespace are permitted in header
> names. There is nothing wrong with a header line such as:
>
> Funny-{indeed}-[yes!]-header: something
>
> Thus, if you want to use $header_something in a context where white
> space does not follow, you must use the terminating colon. Typically
> this is in an expanded string such as
>
> ${if eq{$header_something:}{....}....
>
> Without the colon there, the header name would not terminate at the }.


Interesting, thanks. I must've been lucky so far.