[Rspamd-Users] issue in multimap mode regexp
Mickaël Dequidt
Mickael.Dequidt at ifremer.fr
Fri May 5 13:13:31 UTC 2023
Allright, I went on with my investigations, and well... the issue was
probably between my chair and keyboard.
The thing is, even though in the authentication headers (spf, dkim,
dmarc) the envelope-from is surname.name at gmail.com, for all gmail
addresses rspamd itself records the from as surnamename at gmail.com,
without a dot in the local part.
So... well, good to know : it seems that a dot can never be found in the
local part of a google email.
Le 04/05/2023 à 09:56, Mickaël Dequidt a écrit :
> An incorrect character indeed !
>
> But it doesn't work either after having removed it.
>
>
> Le 04/05/2023 à 09:51, Odhiambo Washington a écrit :
>> On Thu, May 4, 2023 at 10:44 AM Mickaël Dequidt
>> <Mickael.Dequidt at ifremer.fr>
>> wrote:
>>
>>> Hello,
>>>
>>> I'm encountering an issue with the regexp mode inside a multimap rule :
>>> the regexp seems not to be interpreted correctly.
>>>
>>> I have a multimap rule to basically whitelist messages based on envelope
>>> from :
>>>
>>>> sender_from_whitelist {
>>>> type = "from";
>>>> filter = "email";
>>>> require_symbols = "!CLAM_VIRUS";
>>>> map =
>>>> "/${LOCAL_CONFDIR}/local.d/maps.d/whitelist-envelope-from.map";
>>>
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> might the / before the ${LOCAL_CONFDIR} causing the issue?? Just
>> curious.
>>
>
--
Mickaël DEQUIDT
IFREMER - Service IRSI/RIC
Centre Ifremer Bretagne - ZI de la pointe du diable
CS 10070 - 29280 Plouzané
Tel : +33 (0)2 98 22 46 04 - Fax : +33 (0)2 98 22 46 47
More information about the Users
mailing list