Re: [exim] Extracting the last field

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jasen Betts
Date:  
À: exim-users
Sujet: 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