[Rspamd-Users] New Symbol creation

Dave Lewis dlewis at dsl-co.com
Sun Jul 7 18:28:50 UTC 2024


Hi all,

 

I'm a little confused when it comes to the documentation around symbols.  If
I wanted to create a new symbol where do I need to put it ?

 

I have the symbol mentioned in the mulitmap under the map that I am looking
for it to be used in.  

But it shows up as 0 regardless of what I do.

 

I added it in the /local.d/groups.conf file 

 

symbol "NAME_OF_SYMBOL" {

     score = 25.0;

     description = "What is this symbol for";

     }

 

that didn't seem to help.  I tried putting it under a multimap group in the
groups.conf , no change

 

I tried adding them to the local.d/metrics.conf 

 

And that also didn't seem to help.  The multimap config is working because
it is responding to my maps but it's just not doing anything with the symbol
and it's score. 

I have also tried swapping out score = 25.0 with weight = 25.0 (just to try)
but I don't think that's the issue. 

 

On one page in the manual, I saw mention of rspamd_config:register_symbol
, which somewhat leads me to believe that I need to register it, but I can't
figure out where that config should be placed.  

 

No matter what I do, it doesn't seem to use it, and it also isn't showing up
in the symbol page in the gui.

 

 

Thanks !

 

Dave

 



-- 
This email has been checked for viruses by Avast antivirus software.
www.avast.com


More information about the Users mailing list