Re: Enforcing quotas on shared mailboxes

2024-02-12 Thread Gabriele via dovecot
The quota is monitored and new messages are denied if the quota is exceeded. There is one problem though: apparently dovecot treats shared mailboxes in relation to the current user's quota, it does not consider (as would be appropriate) the shared

Re: Enforcing quotas on shared mailboxes

2024-02-11 Thread Aki Tuomi via dovecot
onitored and new messages are denied if the quota is exceeded. > > There is one problem though: apparently dovecot treats shared mailboxes in > relation to the current user's quota, it does not consider (as would be > appropriate) the shared mailbox owner's quota. > &g

Enforcing quotas on shared mailboxes

2024-02-07 Thread dovecot--- via dovecot
ently dovecot treats shared mailboxes in relation to the current user's quota, it does not consider (as would be appropriate) the shared mailbox owner's quota. I will try to explain better with a couple of examples. == Consider the following case: user1 has a quota

Shared mailboxes and indexes

2023-10-06 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I googled a bit to see if I understand it, but no, I haven’t got anything that explains this: What’s exactly the difference between INDEX and INDEXPVT for shared mailboxes? Why are they pointing to the same folder on Dovecot example (https://doc.dovecot.org/configuration_manual

Exclude shared mailboxes from replication

2023-09-27 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I was wondering if it is possible to exclude shared mailboxes from replication. I have us...@mydomain.com sharing mailboxes to us...@mydomain.com. However, since both mailboxes already replicate to a backup server, I wonder if it is possible to exclude the replicated mailboxes from

Re: Unseen field reported by imap status command returns wrong count for shared mailboxes on dovecot cluster

2022-10-18 Thread Aki Tuomi
x is returned. > > > This behavior causes thunderbird when getting new messagesforshared > > > mailboxes, to show briefly all messages of the mailbox as unseenforthe > > > user before showing the correct unseen countforthe shared mailbox. > > > The mail location

Re: Unseen field reported by imap status command returns wrong count for shared mailboxes on dovecot cluster

2022-10-11 Thread Aki Tuomi
auses thunderbird when getting new messagesforshared > > mailboxes, to show briefly all messages of the mailbox as unseenforthe user > > before showing the correct unseen countforthe shared mailbox. > > The mail location of the shared mailboxes is defined with imapc storage &g

Re: Unseen field reported by imap status command returns wrong count for shared mailboxes on dovecot cluster

2022-10-07 Thread Nikolaos Pyrgiotis
show briefly all messages of the mailbox as unseen forthe user before showing the correct unseen count forthe shared mailbox. The mail location of the shared mailboxes is defined with imapc storage type as described inthe documentation. Is this a dovecot bug? Can we configure a different dovecot

Unseen field reported by imap status command returns wrong count for shared mailboxes on dovecot cluster

2022-09-08 Thread Nikolaos Pyrgiotis
mailboxes, to show briefly all messages of the mailbox as unseen forthe user before showing the correct unseen count forthe shared mailbox. The mail location of the shared mailboxes is defined with imapc storage type as described inthe documentation. Is this a dovecot bug? Can we configure a different

Re: Shared mailboxes, users with dots and a bug in subscriptions

2022-05-16 Thread Tobias Stein
Hi, Thanks for your support. So a workaround would involve the migration from the flat to an hierarchical LAYOUT=fs, change the hierarchy separator to „/‟ and the namespace separator to a rarely used symbol like „§‟. Okay, that actually sounds like a nightmare to me. > But this would not res

Ldap dict for shared mailboxes

2021-11-01 Thread Kees van Vloten
Hi everybody, I am trying to construct a LDAP dict for shared mailboxes. There is a lot of documentation available but nothing specific to this usecase. I could not find anything useful on Google nor in the mailinglist archives :-( The best start point seems to be the doc on shared mailbox

Re: [bug 2.3.15] seeing user-shared mailboxes across different storage types requires manual change to subscriptions

2021-07-29 Thread Michal Soltys
On 7/6/21 6:40 PM, Michal Soltys wrote: Hi, While I was checking old bug I once reported (that one seems to be fixed, https://www.dovecot.org/list/dovecot/2017-January/106593.html) I discovered another issue happening under current version when user sharing his mailbox (with Maildir storage)

[bug 2.3.15] seeing user-shared mailboxes across different storage types requires manual change to subscriptions

2021-07-06 Thread Michal Soltys
Hi, While I was checking old bug I once reported (that one seems to be fixed, https://www.dovecot.org/list/dovecot/2017-January/106593.html) I discovered another issue happening under current version when user sharing his mailbox (with Maildir storage) is not visible under user using mdbox (o

Re: Shared Mailboxes in Dovecot Cluster & director configuration

2021-06-10 Thread Vincent Brillault
Hi Markus, > It works better if the backend userdb or passdb sets > imapc_master_user=%{user} or userdb_imapc_master_user=%{user}. This works much better indeed, thanks! > The documentation will be updated soon. There will be also some > example configuration snippets to make it easier to config

Re: Shared Mailboxes in Dovecot Cluster & director configuration

2021-06-09 Thread Markus Valentin
ecial_use = \Drafts > } > mailbox "Sent Items" { > auto = subscribe > special_use = \Sent > } > mailbox Spam { > auto = create > special_use = \Junk > } > prefix = > } > passdb { > args = password=#hidden_use-P_to_sh

Shared Mailboxes in Dovecot Cluster & director configuration

2021-06-08 Thread Vincent Brillault
_to_show# allow_nets=${IPs of director} userdb_namespace/shared/disabled=yes driver = static master = yes } passdb { args = password=#hidden_use-P_to_show# allow_nets=${IPs of director} userdb_sharing_user=%u driver = static } plugin { acl = vfile:/etc/dovecot/dovecot-acl acl_ignore_na

Re: Shared mailboxes, users with dots and a bug in subscriptions

2021-01-28 Thread Aki Tuomi
> On 28/01/2021 16:55 Tobias Stein wrote: > > > Hi Aki, > > Thanks for your prompt reply! :-) > And because i classically forgot to attach > the dovecot-sysreport, i'll deliver it now. :-) > > > Yes, you're right. Setting :LAYOUT=fs would be a workaround. > I'd also have to migrate every >

Re: Shared mailboxes, users with dots and a bug in subscriptions

2021-01-28 Thread Tobias Stein
Hi Aki, Thanks for your prompt reply! :-) And because i classically forgot to attach the dovecot-sysreport, i'll deliver it now. :-) Yes, you're right. Setting :LAYOUT=fs would be a workaround. I'd also have to migrate every single mailbox to the new hierarchical layout. The hierarchical separat

Re: Shared mailboxes, users with dots and a bug in subscriptions

2021-01-28 Thread Aki Tuomi
owned > by 0:0 mode=0755) > > Similar messages are logged, > when invalid entries are listed in '/var/lib/dovecot/db/shared-mailboxes', > which i already pruned and haven't received them anymore since. > > I think these errors are caused by an unintended

Shared mailboxes, users with dots and a bug in subscriptions

2021-01-28 Thread Tobias Stein
ple) failed: Permission denied (euid=109(vmail) egid=118(vmail) missing +w perm: /var/run/dovecot, dir owned by 0:0 mode=0755) Similar messages are logged, when invalid entries are listed in '/var/lib/dovecot/db/shared-mailboxes', which i already pruned and haven't received them an

Re: Shared mailboxes setups and dictionaries

2020-09-15 Thread Daniel Miller
he single source of truth, then I don't have to worry about updating dictionaries as long as LDAP itself is up-to-date, but I have to keep ACLs and LDAP in sync manually (or using an application)? Again, a dictionary is a list of shared mailboxes - not ACL's. You can use any dictionary so

Re: Shared mailboxes setups and dictionaries

2020-09-15 Thread Matej Tyc
r iterated over to generate a list of available mailboxes - that's where the dictionary comes in. The dictionary is a list of shared mailboxes - but that's all it is. So when a client queries the server for a list of available mailboxes the dictionary is consulted. The ACLs are then

Re: Shared mailboxes setups and dictionaries

2020-09-14 Thread Daniel Miller
On 9/14/2020 1:19 PM, Matej Tyc wrote: Hello, I am relatively new to the world of MTAs and MDAs, and I try to set up shared mailboxes. So far I have somehow succeeded - I have defined a shared namespace and I have managed to create per-mailbox ACL files thanks to the doveadm command

Shared mailboxes setups and dictionaries

2020-09-14 Thread Matej Tyc
Hello, I am relatively new to the world of MTAs and MDAs, and I try to set up shared mailboxes. So far I have somehow succeeded - I have defined a shared namespace and I have managed to create per-mailbox ACL files thanks to the doveadm command. However, I have been following these

imapc master user & shared mailboxes

2020-09-04 Thread Toma
Hello, I am trying to configure dovecot like this: https://wiki.dovecot.org/SharedMailboxes/ClusterSetup imapc_host = 127.0.0.1 imapc_master_user = %u #imapc_user = imapc_password = namespace { type = shared separator = / prefix = shared/%%u/ location = imapc:~/shared/%%u } plu

Help with Shared Mailboxes

2020-04-23 Thread Alan Stevens
of the user "support" who is also in Domain-A.  Sorry if my questions are basic, but here goes:- 1. Can I simply change the relevant dovecot configuration files and introduce Shared mailboxes into an already running system?    Very basically, add the imap-acl plugin, the shared namespace

imapc master login for shared mailboxes

2020-03-21 Thread Mark Zealey
Hi there, I'm trying to set up shared mailboxes such that any access to the shared namespace like INBOX/shared/ will take and use imapc to log in with * (ie the current user is the master account for imapc). I've set up like https://wiki2.dovecot.org/SharedMailboxes/ClusterSetup

Re: Shared Mailboxes with Multiple Domains

2020-02-17 Thread Aki Tuomi
el Miller" > To: "Dovecot Mailing List" > Sent: 2/12/2020 6:16:05 PM > Subject: Shared Mailboxes with Multiple Domains > >> Trying to track down a problem I've been dealing with for a while. >> Everything else works fine - the problem is with shared mai

Re: Shared Mailboxes with Multiple Domains

2020-02-17 Thread Daniel Miller
Any thoughts on this? --- Daniel -- Original Message -- From: "Daniel Miller" To: "Dovecot Mailing List" Sent: 2/12/2020 6:16:05 PM Subject: Shared Mailboxes with Multiple Domains Trying to track down a problem I've been dealing with for a while. Everythi

Shared Mailboxes with Multiple Domains

2020-02-12 Thread Daniel Miller
Trying to track down a problem I've been dealing with for a while. Everything else works fine - the problem is with shared mailboxes. My present, and desired, prefix for the shared namespace is: prefix = INBOX/shared/%%d/%%n/ Some mail clients, particularly Thunderbird and Android'

Shared Mailboxes

2019-11-26 Thread Yousif Alkhateeb via dovecot
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

enforcing multiple per-mailbox quotas for shared mailboxes

2019-05-20 Thread Jost-Philip Matysik via dovecot
Hi! I'm trying to get quotas for shared mailboxes set up on my server. It's not working, and I fail to understand why. Documentation for setup of this complexity is rather scarce on the web, and the discussions I found either don't directly apply or terminate with "I go

Shared mailboxes - Can't open mailbox shared-boxes/user/name.lastname: Character not allowed in mailbox name: '.'

2018-10-25 Thread Marcio Vogel Merlone dos Santos
Hi, I am trying to make shared folders work on my server (Ubuntu 18.04, Dovecot 1:2.2.33.2-1ubuntu4.1). Mails are on Maildir++ local filesystem with '.' as layout separator and ALL 100+ users logins fits a template name.lastname, with a dot in the middle. I set up listescape but no luck. Whe

Re: doveadm: problem listing shared mailboxes using a wildcard

2018-06-27 Thread Timo Sirainen
On 25 Jun 2018, at 16.03, Patrick Ben Koetter wrote: > > In order to do some post-login scripting foo I'd like to get a list of shared > mailboxes the user is currently subscribed to. The doveadm-mailbox man page > says "It's also possible to use wildcards in the mail

Re: doveadm: problem listing shared mailboxes using a wildcard

2018-06-25 Thread Patrick Ben Koetter
o: dovecot@dovecot.org Cc: Thore > Bödecker Subject: Re: doveadm: problem listing shared > mailboxes using a wildcard > * Thore Bödecker : > > You might need to quote that last argument, otherwise it can get > > interpreted by the shell as globbing, which obviously is n

Re: doveadm: problem listing shared mailboxes using a wildcard

2018-06-25 Thread Aki Tuomi
Please provide doveconf -n ---Aki TuomiDovecot oy Original message From: Patrick Ben Koetter Date: 25/06/2018 17:21 (GMT+02:00) To: dovecot@dovecot.org Cc: Thore Bödecker Subject: Re: doveadm: problem listing shared mailboxes using a wildcard * Thore Bödecker : >

Re: doveadm: problem listing shared mailboxes using a wildcard

2018-06-25 Thread Patrick Ben Koetter
* Thore Bödecker : > You might need to quote that last argument, otherwise it can get > interpreted by the shell as globbing, which obviously is not what you > want. > > I've been using wildcard arguments enclosed within '' and "" for > various doveadm commands without issues so far. Right. I had

Re: doveadm: problem listing shared mailboxes using a wildcard

2018-06-25 Thread Thore Bödecker
You might need to quote that last argument, otherwise it can get interpreted by the shell as globbing, which obviously is not what you want. I've been using wildcard arguments enclosed within '' and "" for various doveadm commands without issues so far. On 25.06.18 - 16:03, Patrick Ben Koetter w

doveadm: problem listing shared mailboxes using a wildcard

2018-06-25 Thread Patrick Ben Koetter
e to get a list of shared mailboxes the user is currently subscribed to. The doveadm-mailbox man page says "It's also possible to use wildcards in the mailbox name." I'd like to use that feature to output only mailboxes from the shared namespace. However usind the wildcard chara

Re: Shared mailboxes, index files and 'per-user-seen' flags

2018-06-07 Thread Marco Giunta
S 6.9 and we're > using shared mailboxes with index files shared. With this configuration > I can see a lot of error messages like: > >    Jun  6 13:20:31 mail dovecot: Error: imap(us...@tutech.de)<4513> >    : /export/home/imap/us...@tutech.de/shared >    /us...@tute

Shared mailboxes, index files and 'per-user-seen' flags

2018-06-06 Thread Thomas Robers
Hello, i have a dovecot server version 2.3.1 under CentOS 6.9 and we're using shared mailboxes with index files shared. With this configuration I can see a lot of error messages like: Jun 6 13:20:31 mail dovecot: Error: imap(us...@tutech.de)<4513> : /export/home/imap/us..

Dovecot replication does not replicate subscription in shared mailboxes

2018-03-23 Thread Ralf Becker
We use a pair of replicating Dovecot servers. If a user subscribes to a folder, shared by an other user, in one replica, that does not get replicated to the other node. Subscription of regular folders below INBOX seem to replicate correctly. Is that a general bug, a known problem or do we need to

Shared mailboxes ACL's in MySQL, mailboxes in LDAP

2017-12-20 Thread Matt .
Hi Guys, I'm having a situation that I want to autocreate my mailboxes using ldap auth as my mailboxes are in there. But as I need to share some mailboxes as shared folder is it possible to have that information in MySQL ? Maybe it even better to put everything in MySQL but designwise it's actual

Re: Problem with acl and shared mailboxes

2017-04-04 Thread chaouche yacine
Hello Fabian, If you find the solution please report back, I'm interested.   -- Yassine

Re: Problem with acl and shared mailboxes

2017-04-03 Thread Fabian
Hi Yassine, 3. April 2017 14:09, "chaouche yacine" schrieb: > Hello Fabian ! > > There's a simpler method for implementing shared folders if you'd like to try > it. It only relies on > symlinks and acl files. I describe this 5 steps method in this wiki article : > > Thanks for this hint,

Re: Problem with acl and shared mailboxes

2017-04-03 Thread chaouche yacine
Hello Fabian ! There's a simpler method for implementing shared folders if you'd like to try it. It only relies on symlinks and acl files. I describe this 5 steps method in this wiki article : https://ychaouche.informatick.net/dovecotsharefolders#test_your_setup_with_the_doveadm_acl_tool --

Problem with acl and shared mailboxes

2017-04-03 Thread Fabian
Hi there, we are currently have the following problem: User gus...@agreatdomain.de shares his INBOX to brunhi...@agreatdomain.com. But brunhilde can't subscribe that mailbox. host:~ # more //var/spool/mail/agreatdomain.com/gustav/Maildir/dovecot-acl owner akxeilprwts user=brunhi...@agreatdomain

Re: Shared mailboxes nightmare (for me :-( )

2016-09-26 Thread Felix Rubio
Hi KR, Just checked the folders, and they do not contain any of these subfolders. This is the structure I see: . ├── dovecot-acl-list ├── dovecot.list.index ├── dovecot.list.index.log ├── dovecot.list.index.log.2 ├── dovecot.mailbox.log ├── dovecot-uidvalidity ├── dovecot-uidvalidity.570e9b2d

Shared mailboxes nightmare (for me :-( )

2016-09-26 Thread Felix Rubio Dalmau
Hi everybody, I am honestly desperate: I have spent/invested the whole day in trying to set a shared mailbox, with quite partial success. The INBOX is merged with the top level mailbox, and there are many more folders. To give an idea, for the shared account shared...@domain.org, this is how lo

Re: Shared mailboxes not showing up in shared namespace

2016-07-03 Thread Marti Markov
Here is the `doveconf -n` output: root@mail:~# doveconf -n # 2.2.13: /etc/dovecot/dovecot.conf # OS: Linux 3.14.32--grs-ipv6-64 x86_64 auth_debug = yes auth_default_realm = domain.com auth_mechanisms = plain login auth_verbose = yes imapc_host = imap-mail.outlook.com mail_gid = vmail mail_h

Re: Shared mailboxes not showing up in shared namespace

2016-07-03 Thread Marti Markov
Tried it but now luck in either OX App Suite or Thunderbird. The thing is that it isn’t even listed as a subscribeable folder. For example I have a Public namespace at that lists all the public mailboxes but Shared doesn’t list anything. I installed an addon in Thunderbird for ACL and that list

Re: Shared mailboxes not showing up in shared namespace

2016-07-03 Thread aki . tuomi
> On July 3, 2016 at 6:46 PM Marti Markov wrote: > > > Aki, you were right. > It was at /usr/lib/dovecot > > Here is the output: > > * LIST (\Noselect \HasChildren) "/" Shared > * LIST (\Noselect \HasChildren) "/" Shared/d.marteva > * LIST (\HasNoChildren) "/" Shared/d.marteva/INBOX Can you

Re: Shared mailboxes not showing up in shared namespace

2016-07-03 Thread Marti Markov
quot; Archives/2015 >> * LIST (\HasNoChildren) "/" Archives/2011 >> * LIST (\HasNoChildren \Drafts) "/" Drafts >> * LIST (\HasNoChildren \Junk) "/" Junk >> * LIST (\HasNoChildren) "/" Unwanted >> * LIST (\HasNoChildren) "/" c

Re: Shared mailboxes not showing up in shared namespace

2016-07-03 Thread aki . tuomi
\HasNoChildren) "/" confirmed-ham > * LIST (\Noselect \HasChildren) "/" Public > * LIST (\HasNoChildren) "/" Public/office3 > * LIST (\HasNoChildren) "/" Public/office4 > * LIST (\Noselect \HasNoChildren) "/" Shared > * LIST (\HasNoChildren) "

Re: Shared mailboxes not showing up in shared namespace

2016-07-02 Thread Marti Markov
/" Public * LIST (\HasNoChildren) "/" Public/office3 * LIST (\HasNoChildren) "/" Public/office4 * LIST (\Noselect \HasNoChildren) "/" Shared * LIST (\HasNoChildren) "/" INBOX 7 OK List completed. By connecting using `openssl` from a remote machine. > O

Re: Shared mailboxes not showing up in shared namespace

2016-07-01 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jun 2016, Marti Markov wrote: I think I have configured everything correctly but for some reason I can’t get a list of the shared mailboxes to show up. When I run: doveadm acl debug -u m.markov Shared/d.marteva/INBOX doveadm

Shared mailboxes not showing up in shared namespace

2016-06-30 Thread Marti Markov
Hi, I think I have configured everything correctly but for some reason I can’t get a list of the shared mailboxes to show up. When I run: doveadm acl debug -u m.markov Shared/d.marteva/INBOX doveadm(root): Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot

Re: Solr with shared mailboxes

2016-04-26 Thread Timo Sirainen
On 26 Apr 2016, at 19:26, Ricardo Branco wrote: > > We are using passwd-file (http://wiki2.dovecot.org/AuthDatabase/PasswdFile). > > Do you mean passing 'user=XXX' in the extra fields, normalizing this across > all the shared accounts? Yes. Make sure you'll get the XXX user returned in the fir

Re: Solr with shared mailboxes

2016-04-26 Thread Ricardo Branco
We are using passwd-file (http://wiki2.dovecot.org/AuthDatabase/PasswdFile). Do you mean passing 'user=XXX' in the extra fields, normalizing this across all the shared accounts? Timo Sirainen wrote on 26/04/2016 16:45: On 26 Apr 2016, at 18:35, Ricardo Branco wrote: We have multiple logins

Re: Solr with shared mailboxes

2016-04-26 Thread Timo Sirainen
On 26 Apr 2016, at 18:35, Ricardo Branco wrote: > > We have multiple logins assigned to single mailboxes, so we can give one > login to different devices. > > Does this cause a problem with mailbox guids in solr or is the ID stored > within the indexes and not related to username. It causes S

Solr with shared mailboxes

2016-04-26 Thread Ricardo Branco
We have multiple logins assigned to single mailboxes, so we can give one login to different devices. Does this cause a problem with mailbox guids in solr or is the ID stored within the indexes and not related to username.

client setting "move to trash" in shared mailboxes

2016-01-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, does somebody run clients with "move to trash" on delete in conjunction with shared mailboxes successfully? When one tries to delete a mailbox in the shared namespace, Dovecot responds with "Can't rename mailboxes acros

Re: Questions on supporting Shared Mailboxes using imapc://

2015-11-06 Thread Nathan Coulson
control to verify that shared mailboxes work type = shared separator = / prefix = shared2/%%u/ list = children location = sdbox:%%h:INDEXPVT=~/shared2/%%u } dict { acl = mysql:/etc/dovecot/dovecot-sql_aggelos_shares.conf.ext } plugin { acl = vfile acl_shared_dict = proxy::acl

Questions on supporting Shared Mailboxes using imapc://

2015-10-09 Thread Nathan Coulson
dovecot server) imapc_master_user= %u imapc_password=TempPass #imapc_user=te...@example.com # Added for testing. namespace { type = shared separator = / prefix = shared/%%u/ list = children location = imapc:~/shared/%%u/ } namespace { # used as a control to verify that shared mailboxes work

File permissions: system groups for do not work for group/shared mailboxes

2015-09-08 Thread Jens Kirchner
Hello! I am struggling to set up a group mailbox for users of a certain system group. I want to grant access to the mailbox on a filesystem mode by using the system groups. The problem, the set up works fine and when I use setfacl and grant permissions too each user manually, it works fine. H

Shared Mailboxes Not Visible

2015-08-25 Thread Mark Usrey
passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { acl = vfile acl_shared_dict = file:/mail/dict/shared-mailboxes autocreate = Trash autocreate2 = Spam autocreate3 = Draft

Re: Shared mailboxes not shown or accessible

2015-01-18 Thread Tim ODriscoll
On Sat, 17 Jan 2015, Tim ODriscoll wrote: I've gone through all the documentation I can find but still can't sort this out. Any help would be greatly appreciated. Obviously not *all* the documentation because I've recently found a piece about file/group/g+s permissions and that seems to have

Shared mailboxes not shown or accessible

2015-01-17 Thread Tim ODriscoll
create delete expunge insert lookup post read write write-deleted write-seen The shared-dict is being generated: # cat /var/lib/dovecot/db/shared-mailboxes shared/shared-boxes/user/rubbish/invoices 1 Yet when I try to list the mailboxes, the shared namespace has no children: . lo

Shared mailboxes using SQL

2014-11-25 Thread Daniel Miller
I recently tried to change from the simple file to a SQL dictionary for ACL. While the Wiki instructions seemed fairly clear I was having errors. After some further digging, and a little thinking - I read the errors and tried to infer what was happening. I have some IMAP groups configured fo

Re: [Dovecot] quota using wrong limits in user shared mailboxes

2014-10-03 Thread Nick Edwards
We were supposed to get an update to fix this (and other bugs) over a month or more ago if I remember right, but developer seems to be on extended hiatus On 10/3/14, Bartłomiej Nogaś wrote: > Hi, > > I confirm this bug with LDAP userdb. The temporary workaround is to set > quota ignore rule for S

Re: [Dovecot] quota using wrong limits in user shared mailboxes

2014-10-03 Thread Bartłomiej Nogaś
Hi, I confirm this bug with LDAP userdb. The temporary workaround is to set quota ignore rule for Shared namespace or specific shared folder. This is obviously not secure workaround. Example: for a shared namespace: namespace ( prefix = Shared Folders/%%u/ ... } you have to set quota

Re: [Dovecot] Error open(/var/lib/dovecot/db/shared-mailboxes) after update 2.2.10 -> 2.2.13

2014-05-14 Thread Götz Reinicke - IT Koordinator
Am 14.05.14 11:24, schrieb Thomas Leuxner: > * Götz Reinicke - IT Koordinator 2014.05.14 > 10:41: > >> May 14 10:40:00 imap(hansdampf): Error: >> open(/var/lib/dovecot/db/shared-mailboxes) failed: Permission denied > > Usually the error logs are quite verbose (listi

Re: [Dovecot] Error open(/var/lib/dovecot/db/shared-mailboxes) after update 2.2.10 -> 2.2.13

2014-05-14 Thread Thomas Leuxner
* Götz Reinicke - IT Koordinator 2014.05.14 10:41: > May 14 10:40:00 imap(hansdampf): Error: > open(/var/lib/dovecot/db/shared-mailboxes) failed: Permission denied Usually the error logs are quite verbose (listing uid,gid), so I wonder if this is the full log message. signatu

Re: [Dovecot] Error open(/var/lib/dovecot/db/shared-mailboxes) after update 2.2.10 -> 2.2.13

2014-05-14 Thread Götz Reinicke - IT Koordinator
Am 14.05.14 11:12, schrieb Steffen Kaiser: > On Wed, 14 May 2014, Götz Reinicke - IT Koordinator wrote: > >> I did an update from dovecot 2.2.10 -> 2.2.13 and now I'm getting errors: > >> May 14 10:40:00 imap(hansdampf): Error: >> open(/var/lib/dovecot/db/s

Re: [Dovecot] Error open(/var/lib/dovecot/db/shared-mailboxes) after update 2.2.10 -> 2.2.13

2014-05-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 14 May 2014, Götz Reinicke - IT Koordinator wrote: I did an update from dovecot 2.2.10 -> 2.2.13 and now I'm getting errors: May 14 10:40:00 imap(hansdampf): Error: open(/var/lib/dovecot/db/shared-mailboxes) failed: Permissio

[Dovecot] Error open(/var/lib/dovecot/db/shared-mailboxes) after update 2.2.10 -> 2.2.13

2014-05-14 Thread Götz Reinicke - IT Koordinator
Hi, I did an update from dovecot 2.2.10 -> 2.2.13 and now I'm getting errors: May 14 10:40:00 imap(hansdampf): Error: open(/var/lib/dovecot/db/shared-mailboxes) failed: Permission denied Currently the permissions on shared-mailboxes rw-rw-rw but teh error still exists. Any hints? Th

Re: [Dovecot] Shared mailboxes not working with . dot namespace separator - values truncated in SQL

2014-04-23 Thread Robert Schetterer
Am 23.04.2014 10:17, schrieb Frantisek Kucera: > Dne St 23. dubna 2014 09:53:18, Robert Schetterer napsal(a): >> i have >> separator = / >> why you wanna use different ? > > I don't insist on the dot :-) And I also see "/" as better and more > meaningful > separator. But the dot was default on m

Re: [Dovecot] Shared mailboxes not working with . dot namespace separator - values truncated in SQL

2014-04-23 Thread Frantisek Kucera
Dne St 23. dubna 2014 09:53:18, Robert Schetterer napsal(a): > i have > separator = / > why you wanna use different ? I don't insist on the dot :-) And I also see "/" as better and more meaningful separator. But the dot was default on my systems (Debian, Ubuntu) so I stayed with it until I hit o

Re: [Dovecot] Shared mailboxes not working with . dot namespace separator - values truncated in SQL

2014-04-23 Thread Robert Schetterer
ple.com.some.folder" > Dovecot is not able to guess where the username ends and where starts folder > name. But if separator is "/" and the client requests > "shared/n...@example.com/some/folder" it is no problem to extract username > from it and look it up i

Re: [Dovecot] Shared mailboxes not working with . dot namespace separator - values truncated in SQL

2014-04-23 Thread Frantisek Kucera
name. But if separator is "/" and the client requests "shared/n...@example.com/some/folder" it is no problem to extract username from it and look it up in the database. (setting ACLs also worked on my server, but users were not able to see shared mailboxes of other users) Franta

Re: [Dovecot] Shared mailboxes not working with . dot namespace separator - values truncated in SQL

2014-04-23 Thread Robert Schetterer
Am 23.04.2014 08:50, schrieb Frantisek Kucera: > P.P.S. Iwas thinking about this again and it is probably not possible to > support this combination: dot separator + shared mailboxes + usernames with > dots (including the domain part). > > So I suggest update in the wiki: > &

Re: [Dovecot] Shared mailboxes not working with . dot namespace separator - values truncated in SQL

2014-04-22 Thread Frantisek Kucera
P.P.S. Iwas thinking about this again and it is probably not possible to support this combination: dot separator + shared mailboxes + usernames with dots (including the domain part). So I suggest update in the wiki: > n.b. If you have dots "." in your usernames (like `name.surn

[Dovecot] Shared mailboxes not working with . dot namespace separator - values truncated in SQL

2014-04-22 Thread Frantisek Kucera
Hello, I have Dovecot configured for multiple domains (usernames are u...@domain.tld) and I wanted to enable shared mailboxes. But there is some problem - if I share a folder, other user can't see it. In the log I foud: > Apr 22 19:21:02 veverka dovecot: imap(u...@veverka.tld

[Dovecot] quota using wrong limits in user shared mailboxes

2014-03-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have setup a shared namespace to expose user's mailboxes to other users. That works well. Via ACLs users can access other users mailboxes. I have setup a quota for each user, that works well, too. The quota is tracked and new messages are d

Re: [Dovecot] Shared mailboxes / IMAP folder performance

2014-01-21 Thread Robert Schetterer
Am 21.01.2014 18:09, schrieb Sebastian Schlatow: > Am 21.01.2014 17:51, schrieb Robert Schetterer: >> Am 21.01.2014 17:31, schrieb Sebastian Schlatow: >>> Hello, >>> >>> how performant is an IMAP shared folder / mailbox if it contains 2 >>> million mails? Is it possible two have such a quantity of

Re: [Dovecot] Shared mailboxes / IMAP folder performance

2014-01-21 Thread Sebastian Schlatow
Am 21.01.2014 17:51, schrieb Robert Schetterer: > Am 21.01.2014 17:31, schrieb Sebastian Schlatow: >> Hello, >> >> how performant is an IMAP shared folder / mailbox if it contains 2 >> million mails? Is it possible two have such a quantity of mails in a >> shared folder? Is it possible to search th

Re: [Dovecot] Shared mailboxes / IMAP folder performance

2014-01-21 Thread Robert Schetterer
Am 21.01.2014 17:31, schrieb Sebastian Schlatow: > Hello, > > how performant is an IMAP shared folder / mailbox if it contains 2 > million mails? Is it possible two have such a quantity of mails in a > shared folder? Is it possible to search that shared folder for mails in > a fast way? > > Regar

[Dovecot] Shared mailboxes / IMAP folder performance

2014-01-21 Thread Sebastian Schlatow
Hello, how performant is an IMAP shared folder / mailbox if it contains 2 million mails? Is it possible two have such a quantity of mails in a shared folder? Is it possible to search that shared folder for mails in a fast way? Regards Sebastian

Re: [Dovecot] doveadm index crashes when indexing shared mailboxes

2013-06-18 Thread W. de Hoog
Hi, We store our mail archive in a tree of subfolders. I am trying to speed up text searching on our mail archive but when running "doveadm -D -v index -u neil shared/Exalon/Aandeelhouders" the following output is produced: .. doveadm(neil): Panic: file mbox-storage.c: line 711 (mbox_transac

Re: [Dovecot] doveadm index crashes when indexing shared mailboxes

2013-06-16 Thread Timo Sirainen
On 10.6.2013, at 14.56, W. de Hoog wrote: > We store our mail archive in a tree of subfolders. I am trying to speed up > text searching on our mail archive but when running "doveadm -D -v index -u > neil shared/Exalon/Aandeelhouders" the following output is produced: .. > doveadm(neil): Panic:

Re: [Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs

2013-04-04 Thread Timo Sirainen
On 5.4.2013, at 0.48, Lutz Preßler wrote: >>> Only user1.test and user1.test.test2 have ACLs that allow testuser to access >>> them. >>> >>> host:~# doveadm mailbox status -u testuser all INBOX.shared.user1.privat >>> INBOX.shared.user1.privat messages=37 recent=0 uidnext=70 >>> uidvalidity=106

Re: [Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs

2013-04-04 Thread Lutz Preßler
Hello Timo, On Thu, 04 Apr 2013, Timo Sirainen wrote: > On 2.4.2013, at 15.37, Lutz Preßler wrote: > > > Only user1.test and user1.test.test2 have ACLs that allow testuser to access > > them. > > > > host:~# doveadm mailbox status -u testuser all INBOX.shared.user1.privat > > INBOX.shared.user1

Re: [Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs

2013-04-04 Thread Timo Sirainen
On 2.4.2013, at 15.37, Lutz Preßler wrote: > Only user1.test and user1.test.test2 have ACLs that allow testuser to access > them. > > host:~# doveadm mailbox status -u testuser all INBOX.shared.user1.privat > INBOX.shared.user1.privat messages=37 recent=0 uidnext=70 > uidvalidity=1060291494 uns

[Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs

2013-04-02 Thread Lutz Preßler
Hello, 2.2.0rc3: host:~# doveadm mailbox list -u testuser INBOX INBOX.test INBOX.bla INBOX.bla.blubb INBOX.shared INBOX.virtual INBOX.shared.user1 INBOX.shared.user1.privat INBOX.shared.user1.test INBOX.shared.user1.test.test2 INBOX.shared.user1.Trash INBOX.shared.user1.in2009 [... all mailboxes

Re: [Dovecot] Private message flags in shared mailboxes

2013-02-18 Thread Timo Sirainen
On Sat, 2013-02-16 at 20:19 +0200, Timo Sirainen wrote: > I'm wondering a bit how these should work. Comments welcome. Well, I guess: > In v2.2 the recommended way to enable private flags for shared mailboxes is > to create private indexes with :INDEXPVT=. This creates > dovec

Re: [Dovecot] Private message flags in shared mailboxes

2013-02-16 Thread Ben Morrow
ch is confusing and crude), so this would mean a new GETFLAGACL/ SETFLAGACL/MYFLAGRIGHTS IMAP extension. Unless you think this can be sensibly set via METADATA (I'm not familiar with that extension, so I don't know whether using it for access control would be reasonable)? Personally I don't t

[Dovecot] Private message flags in shared mailboxes

2013-02-16 Thread Timo Sirainen
I'm wondering a bit how these should work. Comments welcome. In v2.2 the recommended way to enable private flags for shared mailboxes is to create private indexes with :INDEXPVT=. This creates dovecot.index.pvt[.log] files which only contain message UIDs and flags. The indexes are up

Re: [Dovecot] Is there any way to mask or hide the INBOX label for Dovecot 1.2.x Shared Mailboxes?

2013-02-13 Thread Timo Sirainen
On 13.2.2013, at 0.12, Jason Discount wrote: > I'm setting up a new Dovecot sever to replace an old Cyrus server, and need > to keep things as consistent as possible. I have a couple local accounts, > like junkmail and notjunkmail that users get shared access to, and can drop > things in to tr

[Dovecot] Is there any way to mask or hide the INBOX label for Dovecot 1.2.x Shared Mailboxes?

2013-02-12 Thread Jason Discount
configuration where all mail is owned by the vmail user, due to the impression I'm under, that it's a better way if there is to be shared mailboxes. Relevant bits of dovecot -n: > mail_uid: vmail > mail_gid: vmail > mail_location: maildir:/var/spool/dovecot/user/%u > mail

Re: [Dovecot] shared mailboxes and indexes

2012-11-28 Thread Sven Hartge
Timo Sirainen wrote: > On 27.11.2012, at 3.24, Sven Hartge wrote: >>> For implementing shared mailboxes between all user servers, I think >>> what would need to be developed is: >> >>>> imapc_host = m-st-sh-01.example.com >>>> imapc_master

  1   2   3   4   >