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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Bob Johannessen
Date:  
À: Exim users
Sujet: 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