[Rspamd-Users] multimap check fails - why?
Vsevolod Stakhov
vsevolod at rspamd.com
Thu Aug 8 12:11:47 UTC 2024
On 08/08/2024 10:40, Johannes Rohr wrote:
>
> Am 08.08.24 um 10:36 schrieb Albrecht Backhaus via Users:
>> Maybe it is the typo in your map entry ....
>> The map entry is "somekuser at gmail.com".
>> The email you sent from is "someuser at gmail.com".
>>
> No, it is not.
>
> First because I only grepped for the letter "s"
>
> and second the actual address listed in the file is different.
>
> The core issue seems to be that rspamd grep does not work as it should:
>
> Shouldn't rspamadm grep yield the same result as plain grep? I've now
> created the file test.map.inc containing only the line "somestring"
>
> Here:
>
> root at ida:/etc/rspamd/local.d/maps.d# grep -s somestring test.map.inc
> somestring
> root at ida:/etc/rspamd/local.d/maps.d# rspamadm grep -s somestring
> test.map.inc
>
> Why does rspamadm grep fail where grep works as expected?
Expected? `rspamadm grep` is a tool for patterns search in the Rspamd
**logs** only. Maybe it is a good idea to read the documentation sometimes?
More information about the Users
mailing list