[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remove unwanted header lines from e-mails

On Sun, Jul 31, 2005 at 10:19:30AM +0200, Laszlo Boszormenyi wrote:
>  I have thousands of emails in separate maildirs. I would like to
> remove header lines from all of them that matches a pattern. AFAICR
> I have already used something similar a long time ago, but now I
> can not dig up anything. Is there any tool that can do this (C/C++
> preferred, but Python/Perl is also OK)?

(Note that this is much more relevant for debian-user than debian-devel)

Try formail, from the procmail package.

/* Steinar */
Homepage: http://www.sesse.net/

Reply to: