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)
Leslie
--
Operating System: Linux
Distribution: openSUSE Leap 15.3 x86_64
Desktop Environment: Trinity
Qt: 3.5.0
TDE: R14.0.10
tde-config: 1.0
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
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...