Re: [exim] catching newlines with ${sg {}{}{}}

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: Marten Lehmann
CC: exim-users
Subject: Re: [exim] catching newlines with ${sg {}{}{}}
Marten Lehmann wrote:

> I need to extract the value "X-purgate-ID" from $spam_report:
>
> X-purgate: Spam
>     X-purgate-ID: 150741::080616223818-6C9786C0-73CE72D8/2129941411-0/0-3
>     X-purgate-Ad: For more information about eXpurgate please visit 
> http://www.expurgate.net/


Does this work?

${extract {X-purgate-ID:} {$spam_report}}