I want to use a maildir as a sort of queue for processing incoming emails with structered data which needs to be processed and written to a db. Now, once I've decided to read a message, I move it to ./cur, but how do I let any other process like a POP3 server know that I'm currently reading this message and could be delieting it from under its nose? Also how do I know whether another process might be reading messages I left for processing in ./cur ? Basically what are the rules for reading & deleting. Writing seems to be only dependent on the naming scheme, right?
Thanks, Eugene van Zyl -----Original Message----- From: MaD dUCK [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 9:35 PM To: [EMAIL PROTECTED] Cc: Debian-User Subject: Re: [users] Maildir protocaol spec? also sprach Eugene van Zyl (on Tue, 22 May 2001 12:50:47PM +0200): > Where can I get a document describing the maildir format? The short > page on Dan Bernstein's site is informative but I doubt complete, I > can figure out how to read and mark messages to ./cur from ./new but > nought is said about ./tmp and mention is made of the maildir > writing algorythm? what do you need to know precisely? i have taken maildir apart in many senses and can probably answer you. for instance, marking messages as read is done by moving the file from new to cur, and *then* to rename it to *:2,S martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" [EMAIL PROTECTED] -- you step in the stream, but the water has moved on. this page is not here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]