Re: [Exim] Error in rewrite rule

Góra strony
Delete this message
Reply to this message
Autor: Nigel Wade
Data:  
Dla: exim-users
Temat: Re: [Exim] Error in rewrite rule
Philip Hazel wrote:
> On Fri, 6 Feb 2004, Nigel Wade wrote:
>
>
>>headers_rewrite rule a : takes precedence over "" quotes, so that this rule
>>
>> headers_rewrite = *@* "${quote:$1}"
>>
>>will cause a syntax error "missing rewrite replacement string".
>>
>>Is there any way to quote a : in a string expansion in a headers_rewrite rule?
>
>
> Double it. (This is standard for any list in an Exim config.)
>
>


Thanks Phil.


Also, if I'd looked harder in your book I'd have found out that I can change
the : separator in a list to any character I like using a < at the
beginning. I'd read everything I could find about rewrite rules to try to
quote the :, but hadn't looked closely enough at lists.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
             University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@???
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555