Re: [exim] check for a header value in a router

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Stefano Sabatini
Data:  
Para: exim-users
Asunto: Re: [exim] check for a header value in a router
On date Tuesday 2006-12-19 14:41:56 +0100, POLONKAI Gergely mailed:
> Hello list,
>
> I'm a bit new to exim, and ran into a problem. I've created a router,
> which, if the conditions match, will add a header to the incoming mails.
> In the next router I want to check for this header in the conditions
> row. Is it possible to do it within exim, or do I have to call an
> external program for it?
>


You can check if an header is defined or not in variable expansion (see
chapter 11, String Expansion).

For example:

${if def:header_reply-to:{$h_reply-to:}{$h_from:}}

Not sure is what you want, though.

HTH
Cheers
--
Stefano Sabatini
Linux user number 337176 (see http://li.count.org)