[Rspamd-Users] block foreign charsets
Katharina Knuth
katharina.knuth at icloud.com
Tue May 16 11:21:46 UTC 2023
Am 16.05.23 um 11:56 schrieb Achim Lammerts via Users:
> Hey,
> I do this with a map configured in …
>
> # /etc/rspamd/local.d/multimap.conf:
> BAD_CONTENT {
> type = "content";
> filter = "headers";
> map = "${LOCAL_CONFDIR}/local.d/content_bad.map";
> description = "Blocked header content map";
> symbol = "BAD_CONTENT";
> score = 10.0;
> regexp = true;
> }
>
> an i. e. …
>
> # /etc/rspamd/local.d/content_bad.map:
>
> /Content-Type:.*(koi8\-r|big5|euc\-kr|gb2312|ksc5601\-1987|iso\-2022\-jp|windows\-1251).*/
>
> Regards
> Achim
Sorry, but not working.
Log
May 16 12:31:45 server rspamd[247384]: <68znxo>; map;
rspamdmapfilereadcallback: rereading map file
/etc/rspamd/local.d/content_bad.map
May 16 12:31:45 server rspamd[247385]: <68znxo>; map;
rspamdremap_finalize: regexp map is empty
May 16 12:31:45 server rspamd[247380]: <68znxo>; map;
rspamdremap_finalize: regexp map is empty
May 16 12:31:45 server rspamd[247380]: <68znxo>; map;
rspamdregexplist_fin: read regexp list of 0 elements
May 16 12:31:45 server rspamd[247385]: <68znxo>; map;
rspamdregexplist_fin: read regexp list of 0 elements
May 16 12:31:45 server rspamd[247378]: <68znxo>; map;
rspamdremap_finalize: regexp map is empty
May 16 12:31:45 server rspamd[247386]: <68znxo>; map;
rspamdremap_finalize: regexp map is empty
May 16 12:31:45 server rspamd[247384]: <68znxo>; map;
rspamdremap_finalize: regexp map is empty
and WebUI says => 16.5.2023, 13:10:45 main 247968 map 68znxo regexp
map is empty
--
freundliche Grüße,
Sincerely yours,
Katharina Knuth
More information about the Users
mailing list