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

Góra strony
Delete this message
Reply to this message
Autor: Simon Alman
Data:  
Dla: exim-users
Temat: Re: [Exim] String expansion for list-id: header
Thanks - it does indeed work as expected

Spotted my mistake at last, I have a fairly large filter file and one
recent entry had:

endif
finish

instead of

finish
endif

thus stopping all filters below it from completing (including the
recently added list-id filter).

Regards

Simon

Philip Hazel wrote:

>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
>
>