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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jakob Hirsch
Date:  
À: Marten Lehmann
CC: exim-users
Sujet: 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}}