Dňa 12. apríla 2023 18:43:09 UTC používateľ Victor Ustugov via Exim-users 
<exim-users@exim.org> 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 
>> <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:}}
>> 
>> Header is valid, but after decoding it contains comma without
>> qoutes, the comma is address separator and thus results in
>> list of two "addresses", first without valid address, thus empty...
>> 
>> Use raw header for address extracting -- $rh_From: that works
>> for both, quoted and encoded content...
>
>
>What about the colon without encoding?
>
>From: =?utf-8?Q?My=20Bizness:=20Inc.?= <char...@example.org>

AFAIK colon have to be encoded, quote from by RFC 2047, section
5 (the From: and similar):

    characters that may be used in a "Q"-encoded 'encoded-word' is
    restricted to: <upper and lower case ASCII letters, decimal digits,
    "!", "*", "+", "-", "/", "=", and "_">

regards


-- 
Slavko
https://www.slavino.sk/

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to