[Rspamd-Users] PRECEDENCE_BULK symbol

Alexander Moisseev moiseev+rspamd-users at mezonplus.ru
Wed Nov 14 19:31:45 UTC 2018

On 14.11.18 21:25, Emanuel Gonzalez wrote:
> I have another doubt since I did not understand the documentation very well. I create a rule of two symbols MKT_PROVIDER and PRECEDENCE_BULK.
> My idea is if there are both symbols, just remove PRECEDENCE_BULK and keep the score of MSGID_MKT_DOMAIN_BLK2.
> I create this rule:
> test1 {
>          expression = "MSGID_MKT_DOMAIN_BLK2 & ^PRECEDENCE_BULK";
> }
> the rule is correct?

Why did you mention MKT_PROVIDER symbol if it is not used in the expression?

The composite rule below keeps both the symbol and weight of MSGID_MKT_DOMAIN_BLK2 and removes both the symbol and weight of PRECEDENCE_BULK unless another composite wants to keep it.

         expression = "-MSGID_MKT_DOMAIN_BLK2 & PRECEDENCE_BULK";

More information about the Users mailing list