[SOLVED] __SPAMLEVEL__ macro not working

bzg

Member
Jan 4, 2020
11
1
23
44
Hi Team,

I made a new Action Option exactly similar like the default Modify Spam Level:

1616427030176.png

And modified the Modify Header rule:
1616427074131.png

But looks like this is not working because in the mail headers I see that the X-SPAM-INFO is empty all the time and in the X-SPAM-LEVEL I just see the string "__SPAMLEVEL__":
1616427168022.png

What am I missing?
bzg
 
Works here...

What am I missing?
do you have any rule in your rule-system which matches on a Spam What Object?
(without any what match for spam the mail does not get processed by SpamAssassin (and would not have the required information present)

(you can add a what object with spam level 0 to still get the action to apply to all mails)

I hope this helps!
 
Glad that worked :) - please edit the thread and mark it as SOLVED - this helps others with similar questions
Thanks!