On Mon, 3 May 2004, Eduardo Kienetz wrote:
Ok guys, I'm developing a Groupware system, and it's IMAP mail module is working fine with both Courier-IMAP and UW-IMAP (same commands) except to the fact that UW-IMAP seems not to have an "expunge trash" command (at least not the same one as courier). So, could someone tell me if such command exists and what is it so I can implement it on my solution? Or perhaps the only way is looping through all messages on Trash Folder and marking them as deleted and then expunging them?
Courier is not an IMAP server. Courier implements what its author wants, which is different than IMAP. IMAP is defined by RFC 3501, not by the author of Courier.
There is no such thing as a "Trash Folder" in IMAP. Thus, there is no such thing as "expunge trash" in IMAP.
If you implement Courier commands, you are not implementing an IMAP client; you are implementing a Courier client which will work with no other server.
I strongly recommend that you disregard Courier entirely, and implement your system using compliant IMAP servers, such as UW and Cyrus. There are also commercial IMAP servers which are compliant.
-- Mark --
http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.
