On 2021-10-02 01:30:04 Dr. Nikolaus Klepp wrote:
Hi Leslie!
Anno domini 2021 Fri, 1 Oct 20:06:07 -0500
J Leslie Turriff scripsit:
When SpamAssassin misclassifies a piece of mail
as spam, it wraps
a bunch of stuff around the original message. When I use the
Classify as NOT spam filter it changes the classification, but
leaves the wrapper intact. Does anyone out there know how to write
a filter stage to strip that junk off again? (See attachments)
In kmail go "Settings/Filters" --> "Classify as HAM" and add a
filteraction "Run through program" (freely translated from german
GUI) so the first action is "Mark as HAM" and the second runs the
header saitizer program. I have attached a filter from my system
that I use to that decrypts/sanitises mail headers for you as a
starting point.
Nik