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

2012-06-26 Thread Christian Neukirchen
Paul Vixie p...@redbarn.org writes: i consider MH's basic mailbox format to be flawed in a MIME world for which MH was never designed or redesigned. every attachment should be in its own file, even if that meant that messages were directories no longer files themselves. note, i know we

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

2012-06-26 Thread Paul Vixie
On 2012-06-26 11:45 AM, Paul Fox wrote: anyway: i think i still prefer the idea that the content cache directories be kept in the message tree. but i also understand why one might want them separate. if the idea is that the message tree and the cache tree are roughly isomorphic, i'll bet

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

2012-06-26 Thread Jerrad Pierce
as an unfortunate and unnecessary burden on code whose assumptions have been valid for a long time. But it's still an assumption, and we know what those mean. More seriously though, is there an actual spec for MH declaring what valid folder and filenames are? What's the worst-case for those using

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

2012-06-26 Thread Paul Fox
paul wrote: On 2012-06-26 11:45 AM, Paul Fox wrote: anyway: i think i still prefer the idea that the content cache directories be kept in the message tree. but i also understand why one might want them separate. if the idea is that the message tree and the cache tree are roughly

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

2012-06-26 Thread Paul Vixie
On 2012-06-26 3:02 AM, Ken Hornstein wrote: int m_getfld (int state, unsigned char *name, unsigned char *buf, int bufsz, FILE *iob) Okay ... just shooting from the hip, and based on our discussion back in January ... here's something (I'm ignoring how this would be implemented for now, and

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

2012-06-26 Thread Jeffrey Honig
A few points on this discussion: 1) The person who promised to re-write the API was an Internet Elder. Google it. 2) Callbacks vs data structures One reason you might want to have callbacks is that the content might be GPG or otherwise encrypted and you may want to prompt the user. You

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

2012-06-26 Thread Paul Vixie
On 2012-06-26 11:18 PM, Jeffrey Honig wrote: A few points on this discussion: 1) The person who promised to re-write the API was an Internet Elder. Google it. and after that... bite me. 2) Callbacks vs data structures One reason you might want to have callbacks is that the content

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

2012-06-26 Thread David Levine
Paul Fox wrote: why couldn't an indexer know the difference between the message file and the content cache? anyway: i think i still prefer the idea that the content cache directories be kept in the message tree. but i also understand why one might want them separate. if the idea is that