Is it possible to have Amavis use something else than the *
character for the X-SPAM-LEVEL
header (preferably the x
character) – and if so, how to accomplish that?
TL;DR
Background: while the power-user could filter with regex, for the end user "wildcard matches" are much easier to deal with. X-SPAM-LEVEL matches 'xxxx*'
is much easier to read (and type) than X-SPAM-LEVEL matches regex '\*{4,}'
– for the "normal end-user", I mean. I had that configured on my old server, where SpamAsassin was used via spamd
(docs have spam_level_char
for that, in my config it was add_header all Level _STARS(x)_
– so I know it's possible there. My new server uses SA via Amavis, so it's a different thing here – and I couldn't yet figure how to tell Amavis.
I've already used up most of my Google-Fu, but couldn't find anything1 (and yes, I've also explicitly used the search here on Serverfault, as well as on SU, without success).
1: except for a post from 2003 suggesting to patch the Amavis code directly, which is no option for me