#!/bin/sh # # $Id: hdr,v 1.1 1999/11/18 00:02:00 vogelke Exp $ # # keep only useful stuff in the header, no MIME stuff. # keep the body as well. # intended for use with emacs. PATH=/bin:/usr/sbin:/usr/local/bin:/opt/sfw/bin export PATH # production version #formail -k -X'From '-XFrom: -XMessage-Id: -XDate: -XOld-From: \ # -XTo: -XCc: -XReply-To: -XSubject: # mime version formail -k -X'From ' -XFrom: -XMessage-Id: -XDate: -XOld-From: \ -XTo: -XCc: -XReply-To: -XSubject: -XMIME-Version: \ -XContent-Type: -XContent-Transfer-Encoding: -XReferences: \ -XIn-reply-to: exit 0