dovecot + metadata
Mihai Badici
mihai at badici.ro
Tue Dec 9 07:25:29 CET 2014
Sorry for my late answer, i was quite busy this period.
I think you can have a permission problem.
I have no time to develop a stable configuration for dovecot > 2.2.12 but I
played a little on my test server.
I created a file global-acls:
cat global-acls
* user=mihai.badici lrws
shared user=mihai.badici lrwstipekxa
I was able to create a shared file and put a file into.
In my first tests ( and in the article I wrote for the kolab site) I used
/var/lib/dovecot to store metadata, but during the time I realised is better
to keep the metadata inside the maildir ( this way if i will move the maildir
on another server or if I backup it, it will keep also the metadata info.
this is my configuration, it contains some ugly paths but it looks working:
# 2.2.14: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.45-smp i686 Slackware 14.0
default_login_user = dovecot
disable_plaintext_auth = no
imap_metadata = yes
log_path = /var/log/dovecot
mail_attribute_dict = file:~/shared_metadata
mail_debug = yes
mail_gid = 10000
mail_location = maildir:~/MAILDIR
mail_plugins = " acl"
mail_uid = 10000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-
character vacation subaddress comparator-i;ascii-numeric relational regex
imap4flags copy include variables body enotify environment mailbox date
ihave
namespace {
list = yes
location = maildir:/var/spool/Shared
prefix = shared/%%u/
separator = /
subscriptions = yes
type = public
}
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
separator = /
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
acl = vfile:/etc/dovecot/global-acls:cache_secs=300
acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
sieve = /home/dovecot/%n/.sieve
sieve_dir = ~/.sieve.dovecot
}
postmaster_address = root at mail.olm.ro
protocols = imap pop3 sieve lmtp
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postdrop
mode = 0666
user = postfix
}
unix_listener auth-userdb {
group = mailbox
mode = 0666
user = mailbox
}
user = dovecot
}
service dict {
unix_listener dict {
group = mailbox
mode = 0600
user = mailbox
}
}
service lmtp {
unix_listener /var/spool/postfix/private/lmtp-dovecot {
group = postfix
mode = 0600
user = postfix
}
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
imap_metadata = yes
protocol lmtp {
mail_plugins = " sieve"
}
protocol lda {
mail_plugins = " sieve acl"
}
protocol imap {
mail_plugins = " acl imap_acl"
}
On Friday 05 December 2014 17:41:59 Thomas Baumann wrote:
Hello dovecot list, hello Mihai,
how did you get the shared-metadata for dovecot up and running?
In my setup, there are the default kolab folders, but any shared or custum
folders are not updateteable for the specific types "event" "note"
"freebusy" - they all remain "mail".
And - no shared-metadata file is created or updated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20141209/95727d51/attachment-0001.html>
More information about the users
mailing list