shared/public mailbox application
Michael Fox
news at mefox.org
Tue Nov 29 05:34:09 UTC 2016
Thanks Tobias. Thanks for the detailed reply.
I think I see what you’re doing. But I’m unclear on something (since I’m a nube):
Can anyone send mail to NAME at domain.com <mailto:NAME at domain.com> and have it appear in the public mailbox?
If not, would it be enough to create a userdb entry which defines a pseudo-user NAME, including its home directory, such that imcoming mail addressed to NAME at domain.com <mailto:NAME at domain.com> could be delivered into that mailbox?
Thanks,
Michael
From: Tobias Kirchhofer [mailto:tobias at kirchhofer.net]
Sent: Monday, November 28, 2016 7:19 AM
To: Michael Fox <news at mefox.org>
Cc: Dovecot Mailing List <dovecot at dovecot.org>
Subject: Re: shared/public mailbox application
Hi Michael,
we migrated from Cyrus Shared Folders to Dovecot Public Folder.
Our setup with Dovecot:
* Public Namespace type=public
* prefix=NAMESPACE
* location=maildir:/var/vmail/public/domain.com/folder:INDEXPVT=~/public/domain.com/NAME
* list=children to show NAMESPACE only if acl is given
* Restart Dovecot
* cd /var/vmail/public/domain.com/NAMESPACE
* mkdir .NAME
* We utilise one user <mailto:doveadm at domain.com> doveadm at domain.com to control acl
* doveadm acl set -u <mailto:doveadm at domain.com> doveadm at domain.com NAMESPACE/NAME user= <mailto:doveadm at domain.com> doveadm at domain.com all (this creates also the Maildir)
* doveadm mailbox subscribe -u <mailto:doveadm at domain.com> doveadm at domain.com NAMESPACE/NAME
* dm acl set -u <mailto:doveadm at domain.com> doveadm at domain.com NAMESPACE/NAME user= <mailto:firstname.lastname at domain.com> firstname.lastname at domain.com lookup read write write-seen write-deleted insert post expunge
User <mailto:firstname.lastname at domain.com> firstname.lastname at domain.com can now subscribe to the public folder „NAMESPACE/NAME“.
With this base you could create a more specific setup which more precisely fits your need.
There are also other strategies achieving Shared Folders the Cyrus way. :)
Hope that helps.
Tobias
On 28 Nov 2016, at 15:38, Michael Fox wrote:
No answer. Trying again. Surely someone with experience with public
mailboxes can offer some insight on whether the application below should be
a public or shared namespace ...
Thanks
Michael
-----Original Message-----
From: dovecot [mailto: <mailto:dovecot-bounces at dovecot.org> dovecot-bounces at dovecot.org] On Behalf Of Michael Fox
Sent: Thursday, November 24, 2016 11:53 AM
To: Dovecot Mailing List <mailto:dovecot at dovecot.org> dovecot at dovecot.org
Subject: shared/public mailbox application
I'm new to Dovecot and I need help configuring a shared or public mailbox -
I'm not sure which is appropriate. I've read the wiki and Peer's book and
neither appears to cover what I'd like to do. So I could use some specific
help on how to configure a solution for the following:
I'd like to create two real mailboxes, let's call them AAA and BBB. Let's
call the domain "mydomain". By "real", I mean that users aaa at mydomain and
bbb at mydomain can log into their own mailbox.
Anyone user can send mail to them, just like any other address:
aaa at mydomain or bbb at mydomain.
I'd like all IMAP users in mydomain to be able to read the messages in those
mailboxes.
I'd like all POP users in mydomain to also see those messages. (But I don't
think I need help with the virtual part).
I'd like only a few designated IMAP users to be able to delete the messages
in those mailboxes, including dummy users AAA and BBB themselves.
Ideally, I'd like them to appear in the client under a separate namespace
from shared mailboxes. Example:
INBOX
+--- the normal stuff.
Shared
+--- user1
+--- user2
Special
+--- AAA
+--- BBB
My confusion:
1) I don't know if this requires a shared namespace or a public
namespace. It "feels" like it's "public", since all users would have
access. But Peer's book and the wiki describe manually creating folders for
public namespaces and controlling the contents with manual file
manipulation, which leads me to believe that they can't be used for regular
mail (although the book and the wiki never say one way or the other). I
don't want to manually control files. I want to send mail to the mailbox
and delete (see above) it with a client.
2) There are several examples in Peer's book and the wiki, but none
seem to match what I want. (This is the problem with documentation that is
predominantly example-based). I guess I need more explanation of the
mechanical differences between shared and public and why one would pick one
over the other.
Can someone help? Please be as specific as you can.
Thanks much,
Michael
--
Tobias Kirchhofer
<mailto:tobias at kirchhofer.net> tobias at kirchhofer.net
More information about the dovecot
mailing list