[Rspamd-Users] composite rule questions base on the docs

Gerald Galster list+rspamd at gcore.biz
Tue Oct 29 03:34:25 UTC 2024


> I am trying to setup a composite and I have some questions after reading the docs:

https://rspamd.com/doc/configuration/composites.html#rspamd-composite-symbols

> 1. I don't wont the scores or symbols removed

You've set policy = "leave" for that,

> 2. the symbol XM & neural if positive & bayes is positive

this is your expression

> = add 3 to the overall score.

and that's the score.


> Does this rule look right and and will it show the COMPOSITE_NEURAL_BAYES_XM rule in the tags ?

I think so. Just have a look at rspamd.log: the symbol(s) and scores
should be logged at rspamd_task_write_log once the expression matches.

Best regards,
Gerald


> COMPOSITE_NEURAL_BAYES_XM {
> 
> expression = "MISSING_XM_UA and g+:neural and g+:bayes";
> 
> score = 3.0;
> 
> policy = "leave";
> 
> }



More information about the Users mailing list