Re: [exim] Extracting the last field

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jasen Betts
Data:  
Para: exim-users
Assunto: 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