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

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

Reply via email to