Marc Haber <mh+exim-users@???> (Mo 27 Apr 2015 19:54:54 CEST):
> Hi,
>
> I have an interesting behavior of exim on Debian regarding multiply
>
> My exim is running with a system filter:
> |# Exim Filter
> |
> |headers add "${if !eq {$h_x-malware-found:}{}\
> | {X-torres-Malware-Found: $h_x-malware-found:\n}{}}\
> | ${if !eq {$h_x-spam-score:}{}\
> | {X-torres-Spam-Score: $h_x-spam-score:\n}{}}\
> | ${if !eq {$h_x-spam-report:}{}\
> | {X-torres-Spam-Report: $h_x-spam-report:\n}{}}\
> | ${if !eq {$h_x-spam-checker-version:}{}\
> | {X-torres-Spam-Checker-Version: $h_x-spam-checker-version:\n}{}}\
> | ${if !eq {$h_x-spam-status:}{}\
> | {X-torres-Spam-Status: $h_x-spam-status:\n}{}}\
> | ${if !eq {$h_x-spam-level:}{}\
> | {X-torres-Spam-Level: $h_x-spam-level:\n}{}}\
> | "
> |headers remove X-Malware-Found:X-Spam-Score:X-Spam-Report:X-Spam-Checker-Version:X-Spam-Status:X-Spam-Level
> |
Depending on the result you want to achieve:
# Exim flter
headers add "${if def:h_x-spam-score: \
{X-Torres-Spam-Score:${reduce{<\n $h_x-spam-score:}{}{$value $item}}}}"
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: F69376CE -
! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -