[Rspamd-Users] rejecting tld

Andrés (Mesi) andres at mesi.com.ar
Wed Jul 3 15:38:57 UTC 2019


Perhaps the problem is the ";score, try with an space between "; and 
score.
Also may the filter be missing.

This is an example:


     bl_addr_from {
         filter = "email:addr";
         symbol = "BLADDR_ENVFROM";
         type = "from";
         map = "/etc/rspamd/local.d/bladdr.map";
     }

Best,

Andrés



El 2019-07-03 12:21, Hirschler András via Users escribió:
> Hi,
> 
> I would like to reject certian tld-s in the from and/or mailfrom.
> (like: .icu, .xyz)
> 
> I tried to create a multimap.conf:
> local_bl_tld { type = top; map =
> "$LOCAL_CONFDIR/local.d/local_bl_tld.map.inc"; symbol =
> "LOCAL_BL_TLD"; description = "Local TLD blacklist";score = 99;}
> 
> I also tried type=top:from and type=from_hostname
> Neither worked.
> 
> I got the following error on the webui:
> Module: lua
> Internal ID: s69f66
> Message: cannot add rule: \"local_bl_tld\"
> 
> Can someone help me creating the correct syntax?
> 
> Regards,
> Andras Hirschler


More information about the Users mailing list