procmail
[Top] [All Lists]

Re: What would be the "Essential Headers"

2001-07-04 23:01:29
Antonio Bemfica wrote:
I have a few years worth of messages of a now defunct mailing list which I
would like to archive (that means quite a few messages). I would like to
trim the headers with formail and was looking for a good list of
"essential" or "important" headers that I should not touch. I know the
obvious one, I think (To, From, Message-ID, etc.) but could use some
guidance just in case.

I actually stumbled onto a web page with a nice procmail recipe to do it
some months back, but cannot find it anymore. If anyone knows of it that
would be great too.

If the list content is not limited to ASCII, don't forget to keep
"Content-Transfer-Encoding:", "Content-Type:" and "MIME-Version:".

Otherwise quoted-printable messages may become "quoted-unreadable".

I use a rule similar to this one to trim headers:

:0 fhbw
| formail -k -X From -X Cc: -X Content-Transfer-Encoding: -X Content-Type: -X 
Date: -X From: -X Message-ID: -X MIME-Version: -X Reply-To: -X Status: -X 
Subject: -X To: -X Sender:

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>