Hello, I just installed dovecot (1.0.10) to replace UW-IMAP. So far almost everything works. But I need shared folders (mbox format). I hope I've set up everything but when a user subscribes to one of the shared folders a file .subscriptions with perm 600 is created in the parent directory of the shared mailboxes ("namespace public" below). As I understand the docs that file should go to the user's home directory, right? What did I wrong? Thank you in advance. Here is my dovecot.conf (comments and blank lines stripped): ---- snip ---- protocols = imap imaps pop3 disable_plaintext_auth = no ssl_disable = yes mail_location = mbox:~/mbox:INBOX=/var/mail/%u:INDEX=/var/mailindexes/%u namespace private { inbox = yes } namespace public { prefix = Public/ location = mbox:/var/spool/imap:INDEX=/var/mailindexes hidden = no } mail_full_filesystem_access = yes mbox_read_locks = fcntl mbox_write_locks = fcntl protocol imap { } protocol pop3 { pop3_uidl_format = %08Xu%08Xv } protocol lda { } auth default { mechanisms = plain passdb shadow { } userdb passwd { } user = root } dict { } plugin { } ---- snip ---- --
On 2/3/2008, Jochen (dlfkcf at gmx.net) wrote:> Here is my dovecot.conf (comments and blank lines stripped):Don't do this, just provide output of dovecot -n... -- Best regards, Charles
On Sun, 2008-02-03 at 17:41 +0100, Jochen wrote:> Hello, > > I just installed dovecot (1.0.10) to replace UW-IMAP. > So far almost everything works. But I need shared folders (mbox > format). > I hope I've set up everything but when a user subscribes to one of the > shared folders a file .subscriptions with perm 600 is created in the > parent directory of the shared mailboxes ("namespace public" below). > As I understand the docs that file should go to the user's home > directory, right? > What did I wrong? Thank you in advance.The .subscriptions file goes to the mbox root directory. This can't be changed with mboxes. With maildir you could specify a different directory with :CONTROL=path.> location = mbox:/var/spool/imap:INDEX=/var/mailindexesSo to /var/spool/imap/.subscriptions with this setting, which is what you meant I guess? With v1.1 there's a new subscriptions=no namespace setting. Then you can specify that you have all users' subscriptions in only the private namespace. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080205/eb8111ce/attachment-0002.bin>
Hello Timo, On Tue, Feb 05, 2008 at 12:47:08PM +0200, you wrote:> The .subscriptions file goes to the mbox root directory. This can't be > changed with mboxes.If I have a few central shared IMAP folders in mbox format, how could I manage the subscriptions problem? Here it is quite usual that several users subscribes to one or more of these folders. If the .subscriptions file goes to the root directory of those shared folders only the first user will be able to subscribe to these folders.> With maildir you could specify a different directory with > :CONTROL=path.O.k., is it possible to convert just the shared folders to Maildir leaving the user mailboxes in mbox format for now? That may be a workaround. I think the subscriptions file should be stored relative to user's $HOME.> With v1.1 there's a new subscriptions=no namespace setting. Then you can > specify that you have all users' subscriptions in only the private > namespace.Great. But v1.1 does not compile in our good old mailserver. :-( gcc 2.91 (please, no comment on this...). Perhaps it is possible to compile a statically linked dovecot on one of our newer machines? --