[Dovecot] Ignore prefix given by client?

Tim Bishop tim-lists at bishnet.net
Wed Oct 15 21:42:03 EEST 2008


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


More information about the dovecot mailing list