Make kopano-spamd more flexible (configurable spam header)

Hi,

it would be nice, if I could configure kopano-spamd more flexible to use it with other spamfilters than spamassasin. I currently use rspamd which is using “X-Spam: Yes” instead of “X-Spam-Flag: YES” in mail headers. I found the check in the code and edited it manually for my needs.

https://stash.kopano.io/projects/KC/repos/kopanocore/browse/ECtools/spamd/kopano_spamd/init.py#70
I replaced X-Spam-Flag with X-Spam and “YES” with “Yes” ;) I hope someone could make it configurable in spamd.cfg.

Marcus

i will try it. sadly i’m not a dev.

Just ran into this same issue. Sent a patch contribution which implements this flexibilty.

Hi @tph2018 ,

thanks for your patch. I’ve asked one of our developers to take a look at you patch files and then open a pr internally.

Ticket for status updates is https://jira.kopano.io/browse/KC-1120.

Log in to reply

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.