Shared Mailboxes

Yousif Alkhateeb yousifalkhateeb282 at gmail.com
Tue Nov 26 13:31:33 EET 2019


Hello,
I have a mail server linked to Freeipa server, so all users are UNIX users.
i want to share the inbox of one user to another, but i can't figure it out
how to do it.
this is my dovecot -n output

# 2.3.8 (9df20d2db): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.8 (b7b03ba2)
# OS: Linux 3.10.0-957.21.3.el7.x86_64 x86_64 CentOS Linux release 7.6.1810
(Core)  xfs
# Hostname: mail.yousifrrr.com
doveconf: Warning: please set ssl_dh=</etc/dovecot/dh.pem
doveconf: Warning: You can generate it with: dd
if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dhparam
-inform der > /etc/dovecot/dh.pem
auth_default_realm = YOUSIFRR.COM
auth_username_format = %n
auth_worker_max_count = 60
default_client_limit = 10000
default_process_limit = 1500
disable_plaintext_auth = no
first_valid_uid = 1000
login_trusted_networks = 10.1.5.0/24
mail_access_groups = sharedusers
mail_location = maildir:/MailUsers/%u
mail_plugins = acl
mail_shared_explicit_inbox = yes
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 index ihave
duplicate mime foreverypart extracttext
mbox_write_locks = fcntl
metric imap_select_no {
  event_name = imap_command_finished
  fields = name
  filter {
  name = SELECT
    tagged_reply_state = NO
  }
}
namespace {
  list = yes
  location = maildir:/MailUsers/%u:INDEXPVT=/Mailusers/%u/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
namespace inbox {
  inbox = yes
  list = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
  separator = /
  subscriptions = yes
  type = private
}
passdb {
  driver = pam
}
plugin {
  acl = vfile
   acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db
  sieve = /MailUsers/%u/default.sieve
  sieve_before = /etc/dovecot/default.sieve
  sieve_default = /etc/dovecot/sieve/default.sieve
  sieve_dir = /MailUsers/%u/sieve/
  sieve_global_dir = /etc/dovecot/default.sieve
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
protocols = imap pop3 lmtp sieve
service dict {
  unix_listener dict {
    group = dovecot
    mode = 01402
    user = dovecot
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
}
service imap {
  vsz_limit = 512 M
}
service lmtp {
  inet_listener lmtp {
    port = 24
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 0
  }
}
ssl = required
ssl_cert = </etc/pki/dovecot/certs/mail.crt
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
  driver = passwd
}
protocol lmtp {
  mail_plugins = acl
}
protocol lda {
  mail_plugins = acl
}
protocol imap {
  mail_plugins = acl imap_acl
}

the shared folder is not appearing in the users mailboxes.
can you please help figure out why it's not working.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20191126/342668fa/attachment-0001.html>


More information about the dovecot mailing list