Re: [exim] Extracting the last field

Top Page
Delete this message
Reply to this message
Author: Jasen Betts
Date:  
To: exim-users
Subject: 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