[Dovecot] namespaces at v1.0.15

Charles Marcus CMarcus at Media-Brokers.com
Fri Aug 1 14:20:35 EEST 2008


On 8/1/2008 7:06 AM, Evaggelos Balaskas wrote:
> but ... when one user reads an email from the public folder
> then the status (flag read) changes to all users.

http://wiki.dovecot.org/SharedMailboxes

Scroll down to 'Flag Sharing' and you find:

"Flag sharing

With Maildir dovecot-shared file controls if the \Seen flags are shared 
or private. If you don't have the file, they're shared. If you do have 
the file, the \Seen flag state is stored only in the user's index files. 
By making each user have their own private index files, you can make the 
\Seen flag private for the users. For example:

namespace public {
   prefix = shared.
   location = maildir:/var/mail/shared:INDEX=~/Maildir/shared
}

If you want other flags shared or you don't want \Seen flag shared, 
you'll have to modify the sources. 
src/lib-storage/index/maildir/maildir-storage.c maildir_open() has 
{mbox->ibox.box.private_flags_mask = MAIL_SEEN; Change the MAIL_SEEN to 
any flag combination you want (or zero). See src/lib-mail/mail-types.h 
for list of valid flags."

-- 

Best regards,

Charles


More information about the dovecot mailing list