nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mime-aware filtering?

2012-06-24 07:38:37

ken wrote:
nmh tools ignore non-numeric filenames, doesn't it?

To answer that question more specifically ... it will ignore any filename
that fails m_atoi(), which will reject anything that contains something
that is !isdigit().

A possible way to solve the access to MIME parts problem
might be to store the parts as messageNumber.partNumber*
Creation of these parts would be optional, and eat space,
but it would make indexing/grepping easy.

You know ... given that & Norm's comments, that actually might work.
Thoughts?  FWIW, in my view that really only helps with the use of
non-nmh tools, but it still might make it worth doing.

it's certainly a (relatively) simple way of implementing what paul (vixie)
has proposed a couple of times, while leveraging the filesystem namespace
for the storage of the parts.  i'm not convinced that introducing a
directory level might not be a good idea:  i.e., a message might have
the message file itself ("53") and a directory which mh would currently
ignore ("53.mime").  the directory could then contain lots of stuff that
would clutter the upper-level MH folder otherwise.

paul


--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

=---------------------
 paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 62.2 degrees)

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>