Debian Developers - remove unwanted header lines from e-mails

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > July 2005 > remove unwanted header lines from e-mails





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author remove unwanted header lines from e-mails
Laszlo Boszormenyi

2005-07-31, 2:48 am

Hi,

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)?

Thanks in advance for any pointers,
Laszlo/GCS
--
BorsodChem Joint-Stock Company www.debian.org Linux Support Center
Software engineer Debian Developer Developer
+36-48-511211/23-85 +36-20-4441745


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Steinar H. Gunderson

2005-07-31, 7:48 am

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/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com