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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Bob Johannessen
Fecha:  
A: Exim users
Asunto: 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