[Dovecot] Problems setting up shared/public imap folders

Andre Tann atann at alphasrv.net
Mon Feb 28 18:32:06 EET 2011


Hello everyone,

today I have tried to set up shared and public IMAP folders, but it
didn't work. 

# rpm -qa | grep dovecot
dovecot12-backend-mysql-1.2.11-3.3.1.x86_64
dovecot12-backend-sqlite-1.2.11-3.3.1.x86_64
dovecot12-1.2.11-3.3.1.x86_64
dovecot12-backend-pgsql-1.2.11-3.3.1.x86_64


Here is my dovecot.conf [1].


Can anyone explain what is wrong with my configuration? It is not
possible to access the shared and public mailboxes. Thunderbird and
KMail don't show the shared/public namespace at all. Outlook Express
shows these namespaces, but trying to access leads to a "mailbox doesn't
exist" error message.

Dovecot is not logging any errors.

What's wrong?

Thanks,
Andre





[1]
# cat /etc/dovecot/dovecot.conf

protocols = imap imaps
protocol imap {
      mail_plugins = acl imap_acl
}
listen = *
disable_plaintext_auth = no
ssl = no
login_greeting = alphatest mailservice ready.
mail_location = maildir:~/Maildir

namespace private {
   separator = /
   prefix =
   inbox = yes
}

namespace shared {
  separator = /
  prefix = shared/
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  subscriptions = no
}

namespace public {
  separator = /
  prefix = pub/
  location = maildir:/srv/mail/pub
  subscriptions = no
}

mail_uid = 1002
mail_gid = 1000

protocol imap {
  mail_plugin_dir = /usr/lib64/dovecot/modules/imap
}

protocol pop3 {
  mail_plugin_dir = /usr/lib64/dovecot/modules/pop3
}
protocol managesieve {
}
protocol lda {
  mail_plugin_dir = /usr/lib64/dovecot/modules/lda
  mail_plugins = acl
}
auth default {
  mechanisms = plain
  passdb pam {
  }
  userdb passwd {
  }
  user = root
}
dict {
}
plugin {
  acl = vfile
acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes/%u
acl_anyone = allow
}



-- 
Andre Tann



More information about the dovecot mailing list