Re: [exim] Extracting the last field

Pàgina inicial
Delete this message
Reply to this message
Autor: Jasen Betts
Data:  
A: exim-users
Assumpte: Re: [exim] Extracting the last field
On 2013-06-26, soumya tr <soumya.324@???> wrote:
> Hi,
>
> Is it possible to extract the last field using extract in exim?
>
> Suppose the input is:
>
> "abc@???" <ghi@???>


that looks like an email address. is it?

> I need to extract the last field when delimiter is '@'.


in this case you could use ${domain: ... }

# exim -be '${domain:"abc@???" <ghi@???>}'
jkl.com

--
⚂⚃ 100% natural