[Dovecot] Per-user "Seen" flags on public folder

Torsten Harenberg harenberg at physik.uni-wuppertal.de
Tue Jun 14 14:17:52 EEST 2011


Dear all,

sorry to bother the list again, I have a small configuration issue again with public (shared) folders.

These folders should have per-user Seen flags, so I configured:

namespace {
  type = public
  separator = .
  prefix = public.
  location = maildir:/var/mail/public:INDEX=%u/public
  subscriptions = no
  list = children
}

But this only seems to work with my account (presumably as I was the first one who touched the folder), all other users cannot change the "Seen" flags

My home dir is set to /home/mail/harenber and there is a:

mail# ls -l
total 1162
-rwxrwxrwx  1 10001  wheel     4016 Jun  9 13:27 dovecot.index
-rwxrwxrwx  1 10001  wheel  1125376 Jun 14 11:26 dovecot.index.cache
-rwxrwxrwx  1 10001  wheel     2140 Jun  9 13:40 dovecot.index.log
-rwxrwxrwx  1 10044  wheel    33792 Jun  9 13:28 dovecot.index.log.2
mail# pwd
/home/mail/harenber/harenber/public/.fb8	

(don't know why my username appears twice).


which looks the same on some other account:

mail# ls -l 
total 1380 
-rw-rw-rw- 1 10002 wheel 4016 Jun 9 19:40 dovecot.index 
-rw-rw-rw- 1 10002 wheel 1364992 Jun 10 10:54 dovecot.index.cache 
-rwxrwxrwx 1 10114 wheel 16072 Jun 10 10:54 dovecot.index.log 
mail# pwd 
/home/mail/sandhoff/sandhoff/public/.fb8

The public folder looks like this:

mail# pwd
/var/mail/public/.fb8
mail# ls -l
total 52
drwxrwxrwx  2 root   wheel    512 Jun  9 13:05 cur
-rwxrwxrwx  1 root   wheel     54 Jun  9 13:11 dovecot-acl
-rwxrwxrwx  1 root   wheel     97 Jun  9 13:05 dovecot-keywords
-rw-rw-rw-  1 10001  wheel  18513 Jun  9 13:27 dovecot-uidlist
drwxrwxrwx  2 root   wheel  23552 Jun  9 13:05 new
-rwxrwxrwx  1 root   wheel      0 Jun  9 13:05 subscriptions
drwxrwxrwx  2 root   wheel    512 Jun  9 13:05 tmp


Does anybody see what I did (again) wrong?  (doveconf -n at the end, as allways)

Thanks 

   Torsten

--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     harenberg at physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><> 
mail# doveconf -n                                                              
# 2.0.13: /usr/pkg/etc/dovecot/dovecot.conf
# OS: NetBSD 5.1 amd64  ffs
auth_debug = yes
auth_verbose = yes
base_dir = /var/run/dovecot/
mail_debug = yes
mail_gid = 6
mail_location = maildir:/var/mail/user/%u/Maildir
mail_plugins = acl
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
namespace {
  inbox = yes
  location = 
  prefix = 
  separator = .
  type = private
}
namespace {
  list = children
  location = maildir:/var/mail/public:INDEX=%u/public
  prefix = public.
  separator = .
  subscriptions = no
  type = public
}
passdb {
  args = /usr/pkg/etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = imap pop3 lmtp sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = dovecot
    user = dovecot
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  inet_listener sieve_deprecated {
    port = 2000
  }
}
ssl_ca = </etc/certificates/chain.pem
ssl_cert = </etc/certificates/mail.physik.uni-wuppertal.de.crt
ssl_key = </etc/certificates/mail.physik.uni-wuppertal.de.key
userdb {
  args = /usr/pkg/etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
protocol lmtp {
  mail_plugins = sieve
}
protocol lda {
  mail_plugins = sieve
}
protocol imap {
  mail_plugins = acl imap_acl
}
protocol sieve {
  managesieve_implementation_string = Dovecot Pigeonhole
}




More information about the dovecot mailing list