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

Góra strony
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
Dla: Marten Lehmann
CC: exim-users
Temat: 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}}