Adam McKenna <[EMAIL PROTECTED]> writes: > I read those messages but I'm still not 100% on how it would work > and what it would give me.
~/.tmda/pending/ would be a regular Maildir. Any message in that Maildir is a message that is "still pending" (i.e, not yet confirmed by sender, or released by tmda-pending). ~/.tmda/pending/.confirmed/ is a maildir folder which contains previously pending messages which have been confirmed by sender. ~/.tmda/pending/.released/ is a maildir folder which contains previously pending messages which have been released by tmda-pending. See http://courier-mta.org/maildirmake.html for description of a ``maildir folder''. It's nothing more than a Maildir housed within a Maildir. A ``sub-maildir'' so to speak. So, this should give you want you want. The ability to freely browse pending with an MUA that supports Maildirs. You'd have to change into the .confirmed/ and .released/ folders respectively to view delivered messages, but I suspect most will only be interested in browsing the the top level Maildir. > Just mumbling about how you could keep track of messages in the > pending maildir besides using the filenames. Storing message metadata separate from the message is what I'm trying to avoid, because it's harder for non-TMDA tools to make sense of the pending queue. In fact, this is what TMDA used to do. It stored message attributes in a .delivered_cache file. However, this made it hard for anything except TMDA to distinguish pending messages from confirmed messages from released messages. Renaming the the file solves this problem. I think using a Maildir with two folders will as well. Does this make more sense? _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
