On 13/04/2023 23:24, Martin D Kealey via Exim-users wrote:
On Thu, 13 Apr 2023 at 19:36, Slavko wrote in
exim-users@exim.org:
Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users <
exim-users@exim.org> napísal:
Hi, I have a variable to extract the email address in from header set
On Thu, 13 Apr 2023 at 19:36, Slavko wrote in
exim-users@exim.org:
> Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users <
> exim-users@exim.org> napísal:
> > Hi, I have a variable to extract the email address in from header set
> like this:
> >
> > ${lc:${address:$h_From:}}
>
>
On 13/04/2023 09:54, Victor Ustugov via Exim-users wrote:
I'm not talking about what should be encoded, but about what can be
received in a real email from a spammer, some kind of script or
something like that.
A mail sender could send you *anything*.
--
Cheers,
Jeremy
--
## List details
Slavko via Exim-users wrote on 12.04.2023 22:38:
Hi, I have a variable to extract the email address in from header set like
this:
${lc:${address:$h_From:}}
>>>
>>> Header is valid, but after decoding it contains comma without
>>> qoutes, the comma is address separator and
Jasen Betts via Exim-users wrote on 13.04.2023 10:07:
> On 2023-04-12, Victor Ustugov via Exim-users wrote:
>> Slavko via Exim-users wrote on 12.04.2023 20:42:
>>> Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users
>>> napísal:
Hi, I have a variable to extract the email
On 2023-04-12, Victor Ustugov via Exim-users wrote:
> Slavko via Exim-users wrote on 12.04.2023 20:42:
>> Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users
>> napísal:
>>> Hi, I have a variable to extract the email address in from header set like
>>> this:
>>>
>>>
@Jeremy I think location is no problem since the address is successfully
extracted in most cases. Only this one problem, because the encoded
comma
Simple put that line in some file and try itself by -bem, eg:
Thank you Slavko so i will not bother list with that kind of question!
Dňa 12. apríla 2023 19:15:19 UTC používateľ MRob via Exim-users
napísal:
>On 2023-04-12 17:42, Slavko via Exim-users wrote:
>> Use raw header for address extracting -- $rh_From: that works
>> for both, quoted and encoded content...
>
>If using rh_From: is there risk to get tricked with header
On 12/04/2023 17:50, MRob via Exim-users wrote:
Hi, I have a variable to extract the email address in from header set like this:
${lc:${address:$h_From:}}
But it comes out blank(empty) given a "from" header like this one:
From: =?utf-8?Q?My=20Bizness=2C=20Inc.?=
I think thats a valid
Dňa 12. apríla 2023 18:43:09 UTC používateľ Victor Ustugov via Exim-users
napísal:
>Slavko via Exim-users wrote on 12.04.2023 20:42:
>> Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users
>> napísal:
>>> Hi, I have a variable to extract the email address in from header set like
On 2023-04-12 17:42, Slavko via Exim-users wrote:
Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users
napísal:
Hi, I have a variable to extract the email address in from header set
like this:
${lc:${address:$h_From:}}
Header is valid, but after decoding it contains comma
Slavko via Exim-users wrote on 12.04.2023 20:42:
> Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users
> napísal:
>> Hi, I have a variable to extract the email address in from header set like
>> this:
>>
>> ${lc:${address:$h_From:}}
>
> Header is valid, but after decoding it
Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users
napísal:
>Hi, I have a variable to extract the email address in from header set like
>this:
>
>${lc:${address:$h_From:}}
Header is valid, but after decoding it contains comma without
qoutes, the comma is address separator and thus
Hi, I have a variable to extract the email address in from header set
like this:
${lc:${address:$h_From:}}
But it comes out blank(empty) given a "from" header like this one:
From: =?utf-8?Q?My=20Bizness=2C=20Inc.?=
I think thats a valid header? Did i do somethings wrong please? Thanks!
--
14 matches
Mail list logo