Hi all,
we get some problems with sharing mailbox between users.
when we share something the dovecot-acl file is updated, but the shared-
mailboxes.db file is not created nor updated.
Even if we create the file and set permission to 777...

strangely the debug log gives  :

2024-02-05 09:29:04 imap(xxxxxx)<13741><SA8qQZ4QBIsKDMcL>: Debug: dict(file):
dict created (uri=file:/tmp/shared-mailboxes.db, base_dir=/var/run/dovecot)
2024-02-05 09:29:04 imap(xxxxxx)<13741><SA8qQZ4QBIsKDMcL>: Debug: open(/proc/
self/io) failed: Permission denied

we don't understand why we get this kind of message. we search on this mailing
list without any clean explaination. we expect a bug somewhere..

any ideas ?

system is : debian 12 dovecot 2.3.19.1 (9b53102964)


# 2.3.19.1 (9b53102964): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.19 (4eae2f79)
# OS: Linux 6.1.0-17-amd64 x86_64 Debian 12.4
auth_master_user_separator = *
auth_mechanisms = plain login
auth_username_format = %n
base_dir = /var/run/dovecot
log_path = /var/log/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_debug = yes
mail_gid = 5000
mail_home = /home/vmail/%u
mail_location = /home/vmail/%u/Maildir
mail_plugins = acl mail_log acl mail_log
mail_privileged_group = mail
mail_uid = 5000
namespace {
  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 = /
  type = private
}
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u:INDEXPVT=~/Maildir/
shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
passdb {
  args = /etc/dovecot/master-users
  driver = passwd-file
  master = yes
}
passdb {
  args = /etc/dovecot/dovecot-ldap-passdb.conf
  driver = ldap
  name = ldap
}
plugin {
  acl = vfile
  acl_shared_dict = file:/tmp/shared-mailboxes.db
  acl_user = %u
  master_user = %u
}
protocols = imap lmtp
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service lmtp {
  inet_listener lmtp {
    address = *
    port = 24
  }
  user = vmail
}
ssl_cert = </etc/ssl/mail.crt
ssl_key = # hidden, use -P to show it
userdb {
  args = /etc/dovecot/dovecot-ldap-userdb.conf
  driver = ldap
  name = ldap
}
protocol imap {
  imap_client_workarounds = delay-newmail
  imap_max_line_length = 64 k
  mail_max_userip_connections = 20
  mail_plugins = acl imap_acl
}
protocol lda {
  info_log_path =
  log_path =
  mail_plugins = mail_log
  postmaster_address = postmaster@xxx
  quota_full_tempfail = yes
  syslog_facility = mail
}
protocol lmtp {
  info_log_path =
  log_path =
  mail_plugins = mail_log
  postmaster_address = postmaster@xxx
  quota_full_tempfail = yes
}
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to