Re: [exim] Extracting the last field

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jasen Betts
Päiväys:  
Vastaanottaja: exim-users
Aihe: 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