From owner-freebsd-questions Wed Jan 28 23:27:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA18483 for questions-outgoing; Wed, 28 Jan 1998 23:27:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dt051n19.san.rr.com (root@dt051n19.san.rr.com [204.210.32.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA18471 for ; Wed, 28 Jan 1998 23:27:47 -0800 (PST) (envelope-from Studded@san.rr.com) Received: from san.rr.com (dougdougdougdoug@localhost [127.0.0.1]) by dt051n19.san.rr.com (8.8.8/8.8.8) with ESMTP id XAA12118; Wed, 28 Jan 1998 23:27:37 -0800 (PST) (envelope-from Studded@san.rr.com) Message-ID: <34D02F66.BF8C5BF8@san.rr.com> Date: Wed, 28 Jan 1998 23:27:35 -0800 From: Studded Organization: DALnet IRC Network X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-STABLE i386) MIME-Version: 1.0 To: Thordur Ivarsson CC: questions Subject: Re: Removing unneeded parts of mail header References: <34CF1315.4539C776@est.is> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" Thordur Ivarsson wrote: > > How can I remove automatically unneeded lines from mail headers, I want > to compact the messages for archiving and would like to get rid of > 'received' lines from the mail headers. formail (in the procmail port) will do this for you. I imagine you could probably do it with sed as well, but formail would be safer. Good luck, Doug -- *** Proud operator, designer and maintainer of the world's largest *** Internet Relay Chat server. 5,120 clients and still growing. *** Try spider.dal.net on ports 6662-4 (Powered by FreeBSD) *** Part of the DALnet IRC network ***