nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Thoughts: header/address parsing


From: Ken Hornstein
Subject: Re: [Nmh-workers] Thoughts: header/address parsing
Date: Mon, 04 Aug 2014 11:50:22 -0400

>One example: Get the effective content part of an 'X-Spam-Status" header. (By
>"effective" I mean after unraveling line continuations etc) as part of script
>that classifies Email. Yes, I know, I could workaround, here, by assuming that
>this header and its content almost always, probably always, has a canonical
>form, and that the mis-classifications because of the very occasional
>occurrence of this canonical form, elsewhere in a file, will not do much harm.

That program already exists today.

% scan -width 9999 -format '%{x-spam-status}' messages ....

should do what you want, I think.

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]