[Rspamd-Users] X-Spam-Flag header?

Andy Spiegl rspamd.andy at spiegl.de
Tue Nov 12 19:53:17 UTC 2019

Hi Alex,

> Try adding this to your local.d/milter_headers.conf:
> use = ["spam-header"];
> routines {
>     spam-header {
>         header = "X-Spam-Flag";
>         value = "Yes";
>     }
> }

my local.d/milter_headers.conf already looked like this:
 use = ["x-spam-level", "x-spamd-result", "authentication-results"];
 authenticated_headers = ["x-spam-level", "x-spamd-result", "authentication-results"];
 extended_spam_headers = true;

So, I changed the "use" line to:
 use = ["spam-header", "x-spam-level", "x-spamd-result", "authentication-results"];
and added the "routines" section and the end of the file.

Unfortunately this didn't have the desired result.  No X-Spam-Flag line. :-(
Did I do something wrong?

Thank you!

 Happiness makes up in height for what it lacks in length.  (Robert Frost)

More information about the Users mailing list