[Rspamd-Users] rejecting tld
Hirschler András
hirschler.andras at hunetkft.hu
Thu Jul 4 15:35:07 UTC 2019
>>> There is no type "top", try 'type = from; filter = "top";'.
>>
>> Thanks for the tip, but it did not work.
>> It give "bad search filter: top" error.
>>
>Sorry, it appears 'filter = "top";' is only for "hostname" type.
>
>You can use a regexp map like this:
>
>/\.icu$/i
>/\.xyz$/i
>
>local_bl_tld {
> filter = "email:domain:tld";
> score = 99;
> symbol = "LOCAL_BL_TLD";
> type = "from";
> description = "Local TLD blacklist";
> regexp = true;
> map = "/usr/local/etc/rspamd/local.d/local_bl_tld.map.inc";
>}
>
Works great! Thank you for the support!
Regards,
Andras
More information about the Users
mailing list