[Rspamd-Users] multimap check fails - why?

Philipp Fäustlin philipp.faeustlin at uni-hohenheim.de
Thu Aug 8 12:17:29 UTC 2024


Am 08.08.24 um 11:40 schrieb Johannes Rohr:
>
> 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?
>
> Johannes
>
Because you expect the wrong thing form "rspamadm grep, I think.

The website says "rspamadm grep               Search for patterns in 
rspamd logs"

The detailed description everyone can read on the website:

https://rspamd.com/doc/other/rspamadm.html

Philipp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5594 bytes
Desc: Kryptografische S/MIME-Signatur
URL: <https://lists.rspamd.com/pipermail/users/attachments/20240808/f67d1967/attachment.bin>


More information about the Users mailing list