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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jakob Hirsch
Ημερομηνία:  
Προς: Marten Lehmann
Υ/ο: exim-users
Αντικείμενο: 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}}