Dear SS,

 

We are discussing that matter in the exim mailinglist too at the moment:

https://lists.exim.org/lurker/thread/20140905.140342.50421642.en.html

 

Just playing with the options now���

 

 

kind regards,

 

 

Von: users [mailto:users-bounces@exim4u.org] Im Auftrag von Shamim Shahriar
Gesendet: Donnerstag, 04. September 2014 15:09
An: Exim4U General Discussion
Betreff: Re: [Exim4U] exim 4.84

 

I tried to simplify matters to see where things are going wrong, and thus updated the headers_remove with fixed values (no mysql lookup) as following

headers_remove = ${if or { { <{$spam_score_int}{1} } \
        { <{$spam_score_int}{20}{$value} } \
        { eq {0}{20}{$value} } \
        } {X-Spam-Score:X-Spam-Report} }

the result,

message: virtual_domains router failed to expand "${if or { {
<{$spam_score_int}{1} } { <{$spam_score_int}{20}{$value} } { eq
{0}{20}{$value}} } {X-Spam-Score:X-Spam-Report} }": missing } at end of
condition inside "or" group

I also tried it without the {$value} on the second and third condition
inside the OR, and the result is

message: virtual_domains router failed to expand "${if or { {
<{$spam_score_int}{1} } { <{$spam_score_int}{20} } { eq {0}{20}} }
{X-Spam-Score:X-Spam-Report} }": missing } at end of string

Could someone please point out what I am doing wrong?

Thanks
SS