Jeremy Harris via Exim-users wrote on 26.05.2023 20:50:
> On 26/05/2023 18:28, Victor Ustugov via Exim-users wrote:
>> Please show me how you are going to extract the address without the
>> regular expression from the header shown above.
> 
> Why without?  Using ${addresses: } does seem to work ok
> for this example:
> 
>  /considering: ${addresses:=?utf-8?Q?My=20Bizness:=20Inc.?=
> <[email protected]>}
>   /considering: =?utf-8?Q?My=20Bizness:=20Inc.?= <[email protected]>}
>   |-------text: =?utf-8?Q?My=20Bizness:=20Inc.?= <[email protected]>
>   |considering: }
>   |--expanding: =?utf-8?Q?My=20Bizness:=20Inc.?= <[email protected]>
>   \_____result: =?utf-8?Q?My=20Bizness:=20Inc.?= <[email protected]>
>  |-----op-res: [email protected]
>  |--expanding: ${addresses:=?utf-8?Q?My=20Bizness:=20Inc.?=
> <[email protected]>}
>  \_____result: [email protected]

I got an empty result. So i wrote about this example.

# exim -be '${address:=?utf-8?Q?My=20Bizness:=20Inc.?=
<[email protected]>}'


test without colon:

# exim -be '${address:=?utf-8?Q?My=20Bizness=20Inc.?=
<[email protected]>}'
[email protected]


Tested on exim 4.95 and exim 4.96.


-- 
Best wishes Victor Ustugov
mailto:[email protected]
public GnuPG/PGP key: https://victor.corvax.kiev.ua/corvax.asc

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to