[Dovecot] remove mails from shared folders
Hallo dovecot This is my first post on this list.
I'm new to IMAP servers and i read lots of howtos. If I use the wrong term for some features please tell me the right term.
I have installed dovecot under ubuntu 7.10 and it works fine. dovecot + fetchmail + postfix
I would like to use shared folders the way that we have an email pool for info@mydomain.com
user1@mydomain.com -> User1 user2@mydomain.com -> User2 user3@mydomain.com -> User3 info@mydomain.com -> Pool (look at this http://decembersoul.dyndns.org/wiki/images/c/c6/IMAP1.jpeg )
The users can see and process emails from the email pool. To process an email the user move the email from the email pool to his own inbox. This should make sure that only one user process a email.
Shared folders are created by symlink.
The problem is that, if a user move an email out of the email pool, the other users still can see the mail in the pool. It takes a long time to remove the mail from the pool for every user. Move TO the pool works immediatley. The user can make a "compress folder" to remove the emails but this can't be the soulution.
Maybe this is a client failed (tested only with thunderbird)
Best regards Patrick Fischer
On Tue, 2008-04-15 at 22:00 +0200, Patrick Fischer wrote:
The problem is that, if a user move an email out of the email pool, the other users still can see the mail in the pool. It takes a long time to remove the mail from the pool for every user. Move TO the pool works immediatley. The user can make a "compress folder" to remove the emails but this can't be the soulution.
IMAP uses a two phase mail deletion. First the mail is marked as \Deleted and then only after EXPUNGE command is used, all the \Deleted mails are really gone.
IMAP has no "move" command, so most clients do it with a COPY command followed by setting the mail \Deleted (but they don't EXPUNGE immediately).
So .. You could maybe modify Dovecot sources somehow to automatically expunge messages when \Deleted flag is set to some specific mailboxes (which kind of breaks IMAP standard and may cause problems), but I think it would be a better idea to change the client instead. How about implementing a small reliable web interface for moving the mails from the queue?
participants (2)
-
Patrick Fischer
-
Timo Sirainen