Spam Header Routine not working

72 views
Skip to first unread message

Raphael Schneider

unread,
Sep 20, 2018, 4:16:32 AM9/20/18
to rspamd
Hello,
i am trying to integrate rspamd with UCS Server with Kopano.
UCS uses X-Spam-Flag headers to deliver spam to spamfolder.

So I was trying to rewrite the spam header from X-Spam to X-Spam-Flag, but with no success.
My local milter_headers.conf looks like this:

use = ["spam-header","x-spamd-result","x-rspamd-queue-id"]

routines {
   spam-header {
     header = "X-Spam-Flag";
     value = "Yes";
   }
}

In the headers there is still X-Spam = Yes, but I think this is coming from x-spamd-result and my own spam-header routine is ignored.
There are also no errors in the log about a wrong configuration.
What am i doing wrong?

Thank you very much for a reply.

Greeting
Raphael


Reply all
Reply to author
Forward
0 new messages