Unwanted headers (Was: A subtle issue with ifile-gnus)

Jens Peter Secher <[email protected]>
Newsgroups gmane.mail.ifile.general
Message-ID <[email protected]>
In fact, at the moment I am expimenting with using

,----[ mailclassify ]
| #!/bin/sh
| CATEGORY=`\
| KEYIGNHEADS='Envelope-to:Delivery-date:Date:Message-Id:\
| Resent-Message-ID:Resent-Date:Lines:Xref:List-Post:List-Help:\
| List-Subscribe:List-Unsubscribe:' \
| MAILCAPS=/usr/share/doc/ifile/examples/metamail/mailcap \
| metamail -d 2>&1 | \
| ifile -v0 -Q -w $@ | \
| head -1 | \
| cut -f 1 -d " "`
| echo $CATEGORY
`----

that is, using metamail to remove unwanted headers (and interpreting
MIME).
-- 
                                                      Jens Peter Secher
 _jpsecher get2net dk DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1_
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.