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

Top Page
Delete this message
Reply to this message
Author: Stefano Sabatini
Date:  
To: exim-users
Subject: 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)