[Dovecot] Ignore prefix given by client?
Hi all,
I'm new to Dovecot, but so far I've been really impressed with what I've seen. I hope someone can help with the following question.
We're migrating from a setup where some of our users use mbox with UW imap. The problem is we've never enforced a folder prefix, so some have their folders in ~/, others in ~/mail and others in ~/Mail. We've also got some users using maildir with Courier imap.
I decided the easiest way to get this working transparently for the users was to use the post-login scripting approach. My script manages to locate the user's mail and sets MAIL accordingly. This all works a treat.
The problem is when a user specifies their own prefix in their mail client (if it's blank there are no problems). If they have ~/Mail none of the folders show up.
I've had a play with namespaces in an attempt to fix that, but it doesn't seem to be doing what I want.
So my question is: is it possible for Dovecot to simply ignore the folder prefix given by the client?
Thanks,
Tim.
-- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984
On Oct 15, 2008, at 9:42 PM, Tim Bishop wrote:
The problem is when a user specifies their own prefix in their mail client (if it's blank there are no problems). If they have ~/Mail none of the folders show up.
I've had a play with namespaces in an attempt to fix that, but it doesn't seem to be doing what I want.
http://wiki.dovecot.org/Namespaces configuration works, but v1.1 had a
bug that's not fixed in v1.1.4 yet: http://hg.dovecot.org/dovecot-1.1/rev/b61424a50786
On Wed, Oct 15, 2008 at 09:57:04PM +0300, Timo Sirainen wrote:
On Oct 15, 2008, at 9:42 PM, Tim Bishop wrote:
The problem is when a user specifies their own prefix in their mail client (if it's blank there are no problems). If they have ~/Mail none of the folders show up.
I've had a play with namespaces in an attempt to fix that, but it doesn't seem to be doing what I want.
http://wiki.dovecot.org/Namespaces configuration works, but v1.1 had a
bug that's not fixed in v1.1.4 yet: http://hg.dovecot.org/dovecot-1.1/rev/b61424a50786
Thanks Timo, that did the trick.
Tim.
-- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984
participants (2)
-
Tim Bishop
-
Timo Sirainen