[Rspamd-Users] asn filter does not work for country

Albrecht Backhaus albrecht.backhaus at gmail.com
Thu May 2 14:16:47 UTC 2024


Hello together

I do have defined the following symbols in 
/etc/rspamd/local.d/multimap.conf

> asn_country_blacklist {
>             type = "asn";
>             filter = "country";
>             map = 
> "file:///etc/rspamd/local.d/maps.d/asn_country_blacklist.map";
>             symbol = "ASN_COUNTRY_BLACKLIST";
>             score = 10.0;
>             description = "is on ASN country blacklist";
>             regexp = true;
> }
> asn_blacklist {
>             type = "asn";
>             filter = "asn";
>             map = "file:///etc/rspamd/local.d/maps.d/asnblacklist.map";
>             symbol = "ASN_BLACKLIST";
>             score = 10;
>             description = "is on ASN blacklist";
>             regexp = true;
> }

I can see that the ASN_BLACKLIST symbol is set in the applicable emails 
whereas the symbol ASN_COUNTRY_BLACKLIST is never used, even if there 
are entries in the map that would apply.

Does anyone have any idea what I am doing wrong?



More information about the Users mailing list