shared mailbox replication
We use a shared mailbox, where incoming mails from customers are stored. Every user can see it as "shared/contact@domain.name". When a new message comes, any user who is currently available just takes the message and does something with it. It's configured this way:
namespace shared { type = shared separator = / prefix = shared/%%u/ location = maildir:%%h/.maildir:LAYOUT=fs:INDEX=~/.shared/%%u subscriptions = no list = children }
It worked perfectly until I set up replication. Now we have a mess, because a message moved/deleted on one server are replicated beck form another. This is known issue. The documentation says it clear:
"Warning Shared folder replication doesn’t work correctly. Mainly it can generate a lot of duplicate emails. This is because there’s currently a per-user lock that prevents multiple dsyncs from working simultaneously on the same user. But with shared folders multiple users can be syncing the same folder. So this would need additional locks (e.g. shared folders would likely need to lock the owner user, and public folders would likely need a per-folder lock or maybe a global public folder lock). There are no plans to fix this."
I understand "There are no plans to fix this." But... maybe there is a workaround? I am sure someone before me had already this problem... :-)
participants (1)
-
micha@micha.waw.pl