Bruce Guenter writes:
 > On Sat, Jan 15, 2000 at 10:57:00PM -0500, Russell Nelson wrote:
 > > I wonder if that couldn't be handled by the Maildir code writing
 > > Status: XXXXXXX as the very first line in each message?
 > 
 > Um, am I missing something?  I thought the whole point of the "info"
 > portion of the filename of the message in the maildir?

Right, and do you want the filename changing all the time?  Instead of 
a simple "open()", you have to do a "opendir(), readdir(), string match, 
closedir()" set of syscalls.  I suppose that you could attempt a
simple open() first, and then only if that fails do you go searching.

 > >  > - explicit message size notification
 > > You get this already.
 > 
 > In what?

In the pop3 protocol's list command:

list
+OK 
1 1998
2 2346
.

 > >  > - message upload (for draft messages ...
 > > Couldn't you just send it to $USER-draft, and direct $USER-draft into
 > > a draft Maildir?
 > 
 > That is an option, but messy, considering that the act of delivery will
 > cause header manipulation and IMHO saving messages should keep them
 > intact.

So?  When you send the mail, the first header you write out is
X-Draft:.  That lets you remove the headers which were added in the
delivery process.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.

Reply via email to