On 21/06/15 22:03, Johannes Matschke wrote:
> I am trying to use the $spam_* variables in an exim transport (exim
> 4.82). But it works only for $spam_score_int.
> 
> I have this in my transport config:
>   headers_add = \
>                   X-Spam-Score: $spam_score\n\
>                   X-Spam-Score-Int: $spam_score_int\n\
>                   X-Spam-Level: $spam_bar\n\
>                   X-Spam-Report: $spam_report
> 
> The delivered email looks like this:
>   X-Spam-Score:
>   X-Spam-Score-Int: 55
>   X-Spam-Level:
>   X-Spam-Report:
> 
> The manual says: "These variables are saved with the received message,
> thus they are available for use at delivery time." So why can I use only
> $spam_score_int?

Looks like the documentation is incorrect.

Possibly you could add these headers in the ACL rather
than the transport?
-- 
Cheers,
  Jeremy



-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to