From: MySQL Student <[email protected]>
Date: Tue, 22 Sep 2009 15:38:47 -0400
> Try using a local SA setup for stripping the headers. By local, I mean
> don't use your main production SA - run a separate copy with its own
> (cut down) configuration and all data base accesses and UBL calls etc
> turned off.
Much better idea, thanks. Thanks for the script, too.
Alex
formail can be used to remove headers, for example:
To remove all Received: fields from the header:
formail -I Received:
The following should do what you wanted to remove the X-Spam headers:
formail -I X-Spam < msg
-jeff