[Rspamd-Users] composites remove weight

Kapetanakis Giannis bilias at edu.physics.uoc.gr
Tue Sep 30 09:42:23 UTC 2025


Hi,

I'm trying to remove weight from R_DKIM_REJECT inside a composite rule,
but I can't make it work.

Could someone explain why this one does not work?

FORWARDED_DKIM {
   expression = "-FORWARDED & R_DKIM_REJECT & -R_SPF_ALLOW"
   score = 0;
   policy = remove_weight;
}

Mail symbols:
R_DKIM_REJECT:8:gmail.com:s=20230601
FORWARDED_DKIM:0
FORWARDED:0:xxx at xxxx.com
R_SPF_ALLOW:-0.2:+ip4:xx.xx.xx.xx/32

It seems there is a much on all, FORWARDED, R_DKIM_REJECT, R_SPF_ALLOW

Thanks,

Giannis



More information about the Users mailing list