Re: [exim] spam ACL - changing score character - wishlist it…

Top Page
Delete this message
Reply to this message
Author: Bob Johannessen
Date:  
To: Exim users
Subject: Re: [exim] spam ACL - changing score character - wishlist item?
John Horne wrote:
> I am using the following ACL statements to run SpamAssassin (SA):
>
>    warn    spam = nobody:true/defer_ok
>                   message = X-Spam-Level: $spam_bar

>
> Could either the '+' character be made an '*' as SA uses, or can an
> option be created for the 'spam' statement to say what character should
> be used - if the latter then perhaps add it to the wishlist please?


Untested:

warn    spam = nobody:true/defer_ok
         message = X-Spam-Level: ${tr{$spam_bar}{+}{*}}


Uses ${tr to translate from + to * in $spam_bar


    Bob