Re: [Exim] String expansion for list-id: header

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Simon Alman
CC: exim
Assumpte: Re: [Exim] String expansion for list-id: header
On Mon, 10 Nov 2003, Simon Alman wrote:

> I'm having trouble getting exim to expand the list-id header for
> .forward file filtering, an example filter is given below:
>
> ## HLDS
> if $header_list-id: contains "exim-users.exim.org" then
>         save $home/Maildir/.exim/
>         finish
> endif

>
> Having tested it, it doesn't work for me, however string expansion on
> subject, from, to etc all work fine. Have I mis-understook what it is
> possible to expand in headers ?


That should work. Run tests with -d+expand


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book