Re: Adding a header

"Clemens Fischer" <[email protected]> 19 Sep 2002 12:36:32 +0200
Newsgroups gmane.mail.ifile.general
Message-ID <[email protected]>
David Dulek <[email protected]> writes:

> Is it currently possible or will it be possible in a futre release
> to be able to add a header to the mail message ifile is scanning?

good idea!  once ifile gets the "-h headers" (strip these headers) and
"-H headers" (keep those) options, one of the headers to keep could be
that special ifile-category header.  this way people could choose if
messages are changed at all or in a certain way.

however:  ifile doesn't currently change the messages, it uses stdout
only for it's own output.  so this might be more in the direction of
the -c (concise) option, where that output format is decided.

maybe this would have to be an entirely new option, and it would have
to be mutually exclusive with -c and the query-bunch, as ifiles hint
would get incorporated into the message itself.  also, people would
have to think about MIME some more.  adding a definitive header would
make more sense if ifile would really read and classify all parts of a
message, which it currently cannot do very effectively if it is
MIME-encoded.

clemens