Re: [Exim] Feature request for autoreply

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Alexander Koch
CC: exim-users
Temat: Re: [Exim] Feature request for autoreply
On Thu, 7 Oct 1999, Alexander Koch wrote:

> How do I merge these two, then:
>   condition     = ${if eq{$sender_address}{}{no}{yes}}
>   condition    = ${if def:precedence{}{no}{yes}}

>
> (Hoping the second one is correct.)


No, it is not. It should be

   condition    = ${if def:precedence:{no}{yes}}
                                     ^
                                     ^ 


because header names may contain any characters except space and colon,
and the {} is superflous.

The merge is

condition = ${if or{{eq{$sender_address}{}}{def:precedence:}}{no}{yes}}

assuming by merge you mean "or".

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.