Re: [Dovecot] dovecot shared folder

2014-06-04 Thread Mihai Badici
I think I broke the thread. It was a follow up of this post from May 12: >I try to create a shared directory in dovecot. When accessing ( from >roundcube) i can't subscribe or list the namespace. It looks like I don't >have rights. >This is an extract from debug log: When I try to create a n

Re: [Dovecot] dovecot shared folder

2014-06-04 Thread Mihai Badici
> callback = 0x42909f , failure_callback = > 0x429275 , request_auth_token = 1} > service_flags = MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN > storage_service_flags = MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT > username = 0x0 > c = -1 That means dovecot try to fi

Re: [Dovecot] dovecot shared folder

2014-06-04 Thread Mihai Badici
On Wednesday 14 May 2014 08:31:57 you wrote: > On Wednesday 14 May 2014 01:02:28 you wrote: > Finally i found time to build another machine and try to debug : I found my slackbuild stripped the debug symbols so i made some changes and : Program terminated with signal SIGSEGV, Segmentation fault.

Re: [Dovecot] dovecot shared folder

2014-05-13 Thread Timo Sirainen
On 13.5.2014, at 10.21, Mihai Badici wrote: > I try to create a shared directory in dovecot. > When accessing ( from roundcube) i can't subscribe or list the namespace. > It looks like I don't have rights. > > This is an extract from debug log: > When I try to create a new folder in "Public" (i

[Dovecot] dovecot shared folder

2014-05-13 Thread Mihai Badici
I try to create a shared directory in dovecot. When accessing ( from roundcube) i can't subscribe or list the namespace. It looks like I don't have rights. This is an extract from debug log: When I try to create a new folder in "Public" (i don't have rights, but i can try) loooks like the process

Re: [Dovecot] Dovecot shared library to replace libc-client

2012-07-02 Thread Timo Sirainen
On 3.7.2012, at 9.18, Asheesh Laroia wrote: >> I'm still not ready to give ABI or even API guarantees to libdovecot.. There >> are still several important large changes to do and I don't really want to >> keep a ton of ugly backwards compatibility stuff just for external users of >> the library

Re: [Dovecot] Dovecot shared library to replace libc-client

2012-07-02 Thread Asheesh Laroia
On Tue, 3 Jul 2012, Timo Sirainen wrote: On 3.7.2012, at 8.53, Asheesh Laroia wrote: I see there is a dovecot shared library. I haven't looked into the details, but here are things I'm interested in: 1. Replacing libc-client's use as a client library .. I envision creating libdovecot-c-clie

Re: [Dovecot] Dovecot shared library to replace libc-client

2012-07-02 Thread Timo Sirainen
On 3.7.2012, at 8.53, Asheesh Laroia wrote: > I see there is a dovecot shared library. I haven't looked into the > details, but here are things I'm interested in: > > 1. Replacing libc-client's use as a client library .. > I envision creating libdovecot-c-client-alike that is a set of headers >

[Dovecot] Dovecot shared library to replace libc-client

2012-07-02 Thread Asheesh Laroia
Hi all Dovecotters, Lots of programs (e.g, PHP) link to a library called c-client, which is a derivative of the original IMAP implementation, UW IMAP. (For those new to UW IMAP, read here: http://www.washington.edu/imap/ ) UW IMAP is not in as much of active development as it used to be, so I

Re: [Dovecot] dovecot+shared folders

2011-05-11 Thread Timo Sirainen
On Fri, 2011-05-06 at 17:03 +0400, Alexey Eropkin wrote: > And all seems ok, but I cannot understand how to make delet flag per user. > If I permit t and e in ACL, users delet message forever for all. Not possible currently. Although you could easily modify the source code to do that.

[Dovecot] dovecot+shared folders

2011-05-06 Thread Alexey Eropkin
Hi all. I have dovecot 1.2.15 on debian + mysql+shared folders. My config login_process_size = 128 login_processes_count = 10 login_process_per_connection = no login_max_connections = 3000 login_max_processes_count = 1000 mail_process_size = 1024 protocols = imap imaps pop3 pop3s managesieve p

Re: [Dovecot] dovecot-shared

2009-12-30 Thread Timo Sirainen
On Wed, 2009-12-30 at 09:43 -0500, Frank Cusack wrote: > Which brings me to another question. How is the filename manipulated > when there are private flags? They aren't. The shared flags are in the filename. The private flags are only in index files. signature.asc Description: This is a digi

Re: [Dovecot] dovecot-shared

2009-12-30 Thread Frank Cusack
On December 29, 2009 3:03:56 AM -0500 Frank Cusack wrote: I was just thinking today it would be nice to have per-USER private or shared. So e.g. all users by default might share \Seen \Answered but some admin users have private \Seen, and don't have to worry about resetting the \Seen flag when

Re: [Dovecot] dovecot-shared

2009-12-29 Thread Frank Cusack
On December 29, 2009 4:49:56 PM -0500 Timo Sirainen wrote: On Tue, 2009-12-29 at 03:03 -0500, Frank Cusack wrote: On December 29, 2009 1:59:53 AM -0500 Timo Sirainen wrote: > Yeah, that's been in todo for a while. I'd probably make dovecot-shared > file have options: I was just thinking today

Re: [Dovecot] dovecot-shared

2009-12-29 Thread Timo Sirainen
On Tue, 2009-12-29 at 03:03 -0500, Frank Cusack wrote: > On December 29, 2009 1:59:53 AM -0500 Timo Sirainen wrote: > > Yeah, that's been in todo for a while. I'd probably make dovecot-shared > > file have options: > > I was just thinking today it would be nice to have per-USER private or > share

Re: [Dovecot] dovecot-shared

2009-12-29 Thread Frank Cusack
On December 29, 2009 1:59:53 AM -0500 Timo Sirainen wrote: Yeah, that's been in todo for a while. I'd probably make dovecot-shared file have options: I was just thinking today it would be nice to have per-USER private or shared. So e.g. all users by default might share \Seen \Answered but som

Re: [Dovecot] dovecot-shared

2009-12-28 Thread Timo Sirainen
On 28.12.2009, at 2.08, Frank Cusack wrote: > I'm confused about dovecot-shared. > > If the file exists, \SEEN flags are NOT shared? Right. > So if dovecot-shared exists, flags are actually private. The doc > seems clear on this (albeit not worded very well). I only question it > because intu

[Dovecot] dovecot-shared

2009-12-27 Thread Frank Cusack
I'm confused about dovecot-shared. If the file exists, \SEEN flags are NOT shared? So if dovecot-shared exists, flags are actually private. The doc seems clear on this (albeit not worded very well). I only question it because intuitively you would think the opposite. If backwards compatibilit

Re: [Dovecot] dovecot-shared Problem

2009-12-03 Thread Timo Sirainen
backports.org has v1.2 debs. On Dec 3, 2009, at 1:54 AM, Darius Bohni wrote: > is the dovecot version 1.2 fully compatible with debian lenny? its only the > 1.0.15 version in the main repo. > > > On Thu, Dec 3, 2009 at 1:29 AM, Timo Sirainen wrote: > >> On Dec 2, 2009, at 9:25 AM, Darius Bohn

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Darius Bohni
is the dovecot version 1.2 fully compatible with debian lenny? its only the 1.0.15 version in the main repo. On Thu, Dec 3, 2009 at 1:29 AM, Timo Sirainen wrote: > On Dec 2, 2009, at 9:25 AM, Darius Bohni wrote: > > > I try to set up dovecot with imap and maildir. I run into a permission > > pr

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Benny Pedersen
On ons 02 dec 2009 22:48:36 CET, Darius Bohni wrote i don't use root for various security reasons. i dont understand what imapsync is good for my backup? rsync all files, exclude mailfiles in rsync in imapsync sync all mails with same auth to another host eg same host you do rsync to my d

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Benny Pedersen
On ons 02 dec 2009 22:27:34 CET, Frank Cusack wrote On December 2, 2009 9:58:59 PM +0100 Benny Pedersen wrote: On ons 02 dec 2009 17:37:54 CET, Frank Cusack wrote On December 2, 2009 4:25:35 PM +0100 Darius Bohni wrote: I need to have read and execute rights of all folders and mails for the

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Timo Sirainen
On Dec 2, 2009, at 9:25 AM, Darius Bohni wrote: > I try to set up dovecot with imap and maildir. I run into a permission > problem. > I need to have read and execute rights of all folders and mails for the > group (needed by the backup deamon). Easiest solution: Upgrade to Dovecot v1.2 and just s

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Darius Bohni
i don't use root for various security reasons. i dont understand what imapsync is good for my backup? my deamon is coming with rsync from an other host. grz fr3ak4l On Wed, Dec 2, 2009 at 10:27 PM, Frank Cusack wrote: > On December 2, 2009 9:58:59 PM +0100 Benny Pedersen wrote: > >> On ons 02

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Frank Cusack
On December 2, 2009 9:58:59 PM +0100 Benny Pedersen wrote: On ons 02 dec 2009 17:37:54 CET, Frank Cusack wrote On December 2, 2009 4:25:35 PM +0100 Darius Bohni wrote: I need to have read and execute rights of all folders and mails for the group (needed by the backup deamon). I don't under

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Benny Pedersen
On ons 02 dec 2009 17:37:54 CET, Frank Cusack wrote On December 2, 2009 4:25:35 PM +0100 Darius Bohni wrote: I need to have read and execute rights of all folders and mails for the group (needed by the backup deamon). I don't understand how a backup daemon could work if it isn't run as root.

Re: [Dovecot] dovecot-shared Problem

2009-12-02 Thread Frank Cusack
On December 2, 2009 4:25:35 PM +0100 Darius Bohni wrote: I need to have read and execute rights of all folders and mails for the group (needed by the backup deamon). I don't understand how a backup daemon could work if it isn't run as root. -frank

[Dovecot] dovecot-shared Problem

2009-12-02 Thread Darius Bohni
Hi, first, sorry for my english, i hope u understand me :-/ I try to set up dovecot with imap and maildir. I run into a permission problem. I need to have read and execute rights of all folders and mails for the group (needed by the backup deamon). first I tried with umask, but this only affect

Re: [Dovecot] dovecot-shared and shared "\Seen" flags

2009-10-29 Thread Timo Sirainen
On Thu, 2009-10-29 at 16:16 -0500, Dave wrote: > >> (b) Indicate to Dovecot in some way other than the dovecot-shared file > >> which permissions to use for any messages created? > > > > In v1.2 the permissions are taken from parent directory. > > Hmm, that might be the best solution then, an u

Re: [Dovecot] dovecot-shared and shared "\Seen" flags

2009-10-29 Thread Dave
>> (b) Indicate to Dovecot in some way other than the dovecot-shared file >> which permissions to use for any messages created? > > In v1.2 the permissions are taken from parent directory. Hmm, that might be the best solution then, an upgrade to 1.2. Fwiw, I also tried NOT using the dovecot-sha

Re: [Dovecot] dovecot-shared and shared "\Seen" flags

2009-10-29 Thread Timo Sirainen
On Wed, 2009-10-28 at 16:21 -0500, Dave wrote: > (Running Dovecot 1.1.0) Is it possible to either - > > (a) Still have shared "\Seen" flags even while using the dovecot-shared file Not currently. > (b) Indicate to Dovecot in some way other than the dovecot-shared file > which permissions to us

[Dovecot] dovecot-shared and shared "\Seen" flags

2009-10-28 Thread Dave
(Running Dovecot 1.1.0) Is it possible to either - (a) Still have shared "\Seen" flags even while using the dovecot-shared file or (b) Indicate to Dovecot in some way other than the dovecot-shared file which permissions to use for any messages created? The problem is, in my shared folder (usi

Re: [Dovecot] Dovecot, Shared Mailboxes (via symlink), and ACLs

2009-10-27 Thread Dave
>> Now, I have gotten the shared boxes to work IF I changed the permissions >> to be rwx for user and group on /home/imapuser/Maildir/*, but this makes >> procmail (and .procmailrc) unhappy > > You'll need to set UNIX permissions in a way that it works. Thank you for the responses! OK, it seems

Re: [Dovecot] Dovecot, Shared Mailboxes (via symlink), and ACLs

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-27 at 14:51 -0500, Dave wrote: > Now, I have gotten the shared boxes to work IF I changed the permissions > to be rwx for user and group on /home/imapuser/Maildir/*, but this makes > procmail (and .procmailrc) unhappy and it starts sending things to mbox > files (old system) instead

Re: [Dovecot] Dovecot, Shared Mailboxes (via symlink), and ACLs

2009-10-27 Thread proton-sss
Hello! I think, if you keep maildirs by different uid then you must change file permissons to permit access to shared maildir. I don`t now about procmail delivery options, but in dovecots "deliver" - if you create in shared maildir file called "dovecot-shared", than deliver will keep permission

[Dovecot] Dovecot, Shared Mailboxes (via symlink), and ACLs

2009-10-27 Thread Dave
Hello! I just joined the list and will be happy to help where I can in my limited experience, but also come to the table with a question. I think there's something I'm missing regarding shared mailboxes and ACLs, so I will describe my situation and see if I am understanding correctly (running Do

Re: [Dovecot] Dovecot shared quota with Maildir

2009-05-12 Thread Timo Sirainen
On Tue, 2009-03-24 at 15:32 +0900, Jorgen Lundman wrote: > "domain quotas" is a good way to describe it. > > It would need some method to look up all mail-storage that is belong to > the domain. In our case, we would look at an LDAP query, where uid=uid > and gid=gid, but could be a literal sear

Re: [Dovecot] Dovecot shared quota with Maildir

2009-03-23 Thread Jorgen Lundman
With v1.2 this would be somewhat easier I think, because it allows you to create new user structures, look up their home dirs (by querying dovecot-auth) and calculate their quotas. But you'd still need a way to get a list of usernames who share the quota. All of this is actually related to "do

Re: [Dovecot] Dovecot shared quota with Maildir

2009-03-13 Thread Timo Sirainen
Well.. With dict quota you could already do this, but quota recalculation wouldn't work right. Quota recalculation shouldn't happen normally though, so you might get away with it. But to fix quota recalculation you'd have to do something like you're describing I guess.. With v1.2 this would be som

Re: [Dovecot] Dovecot shared quota with Maildir

2009-03-09 Thread Jorgen Lundman
Since I could issue an LDAP query for (&(uidNumber=%uid)(gidNumber=%gid)) for homeDirectory to retrieve all home directory paths, and associated mailDirSize files, I wonder if I could extend dovecot to allow us to handle shared quota like the fs-quota used to work. Using symlinks between ac

Re: [Dovecot] dovecot-shared file

2009-02-06 Thread Timo Sirainen
On Fri, 2009-01-30 at 16:49 +0100, Thomas Hummel wrote: > Hello Timo, > > About the dovecot-shared file, the wiki says : > > "Unless you're using a single UID for all the users, you'll need to have a >dovecot-shared file in each shared maildir. The group and the file > permissions >for

[Dovecot] dovecot-shared file

2009-01-30 Thread Thomas Hummel
Hello Timo, About the dovecot-shared file, the wiki says : "Unless you're using a single UID for all the users, you'll need to have a dovecot-shared file in each shared maildir. The group and the file permissions for new files inside the maildir are taken from the dovecot-shared file."

[Dovecot] Dovecot shared quota with Maildir

2009-01-20 Thread Jorgen Lundman
Hello list, We are in the process of exploring the idea of moving from UFS with fs-quota to using softquotas in Dovecot (probably Maildir type, stored in LDAP, all ontop of NFS). I have it setup, and it works rather well so far. But there is one situation we can currently support, which I c

Re: [Dovecot] Dovecot shared mailbox folder problem

2007-07-05 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Jul 2007, Timo Sirainen wrote: On Wed, 2007-07-04 at 16:50 +0200, Steffen Kaiser wrote: drwxrws--- 5 31045 30005 4096 2007-07-04 15:53 ./ drwxrwsr-x 2 31045 30005 4096 2007-06-21 12:19 cur/ The setuid-group bit hides group-x bit. The on

Re: [Dovecot] Dovecot shared mailbox folder problem

2007-07-05 Thread Richard Laager
On Thu, 2007-07-05 at 17:43 +0300, Timo Sirainen wrote: > On Wed, 2007-07-04 at 16:50 +0200, Steffen Kaiser wrote: > > drwxrws--- 5 31045 30005 4096 2007-07-04 15:53 ./ > > drwxrwsr-x 2 31045 30005 4096 2007-06-21 12:19 cur/ > > The setuid-group bit hides group-x bit. The only thing I can think of

Re: [Dovecot] Dovecot shared mailbox folder problem

2007-07-05 Thread Christian Skarby
Den 05-07-2007 16:43, Timo Sirainen skrev: On Wed, 2007-07-04 at 16:50 +0200, Steffen Kaiser wrote: drwxrws--- 5 31045 30005 4096 2007-07-04 15:53 ./ drwxrwsr-x 2 31045 30005 4096 2007-06-21 12:19 cur/ The setuid-group bit hides group-x bit. The only thing I can think of is cur/ isn't group-ex

Re: [Dovecot] Dovecot shared mailbox folder problem

2007-07-05 Thread Timo Sirainen
On Wed, 2007-07-04 at 16:50 +0200, Steffen Kaiser wrote: > drwxrws--- 5 31045 30005 4096 2007-07-04 15:53 ./ > drwxrwsr-x 2 31045 30005 4096 2007-06-21 12:19 cur/ The setuid-group bit hides group-x bit. The only thing I can think of is cur/ isn't group-executable. signature.asc Description: Th

Re: [Dovecot] Dovecot shared mailbox folder problem

2007-07-04 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Jul 2007, Steffen Kaiser wrote: # l /mnt/mailcache/shared/.testAccess -n total 24 drwxrws--- 5 31045 30005 4096 2007-07-04 15:53 ./ drwxr-xr-x 6 0 0 4096 2007-07-04 16:08 ../ drwxrwsr-x 2 31045 30005 4096 2007-06-21 12:19 cur/ -rw-

[Dovecot] Dovecot shared mailbox folder problem

2007-07-04 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I've set up a namespace to share some mailboxes. When I try to select them, I get an internal error: Client-server chat: * OK Dovecot ready. 1 login dvtest2 x 1 OK Logged in. 2 list "" * * LIST (\HasNoChildren) "." "Trash" * LIST (\HasChild

Re: [Dovecot] dovecot-shared tries to fchown index+control files but fails

2007-06-04 Thread Adam McDougall
On Mon, Jun 04, 2007 at 03:47:13PM +0300, Timo Sirainen wrote: On Sun, 2007-06-03 at 23:05 -0400, Adam McDougall wrote: > On Mon, Jun 04, 2007 at 05:57:49AM +0300, Timo Sirainen wrote: > > On Thu, 2007-05-24 at 18:59 -0400, Adam McDougall wrote: > > May 24 18:45:35 hostname dovecot:

Re: [Dovecot] dovecot-shared tries to fchown index+control files but fails

2007-06-04 Thread Timo Sirainen
On Sun, 2007-06-03 at 23:05 -0400, Adam McDougall wrote: > On Mon, Jun 04, 2007 at 05:57:49AM +0300, Timo Sirainen wrote: > > On Thu, 2007-05-24 at 18:59 -0400, Adam McDougall wrote: > > May 24 18:45:35 hostname dovecot: IMAP(username): > > > fchown(/home/username/Maildir/dovecot/public/co

Re: [Dovecot] dovecot-shared tries to fchown index+control files but fails

2007-06-03 Thread Adam McDougall
On Mon, Jun 04, 2007 at 05:57:49AM +0300, Timo Sirainen wrote: On Thu, 2007-05-24 at 18:59 -0400, Adam McDougall wrote: > May 24 18:45:35 hostname dovecot: IMAP(username): > fchown(/home/username/Maildir/dovecot/public/control/org/.mailfolder/dovecot-uidlist) failed: > Operation not pe

Re: [Dovecot] dovecot-shared tries to fchown index+control files but fails

2007-06-03 Thread Timo Sirainen
On Thu, 2007-05-24 at 18:59 -0400, Adam McDougall wrote: > May 24 18:45:35 hostname dovecot: IMAP(username): > fchown(/home/username/Maildir/dovecot/public/control/org/.mailfolder/dovecot-uidlist) > failed: > Operation not permitted I'm not sure if you already figured this out, but these calls

[Dovecot] dovecot-shared tries to fchown index+control files but fails

2007-05-24 Thread Adam McDougall
I have some public mailboxes setup in 1.0.0, location = maildir:/egr/mail/shared/org:CONTROL=%h/Maildir/dovecot/public/control/org:INDEX=%h/Maildir/dovecot/public/indexes/org I also have a dovecot-shared file in the maildir folders so messages that are added to the inbox get a decent set of def

Re: [Dovecot] dovecot-shared being ignored?

2007-05-18 Thread Timo Sirainen
On Fri, 2007-05-18 at 16:22 -0500, [EMAIL PROTECTED] wrote: > So, I'm working on a shared folder. Everything is nice except for one bit. > > My dovecot-shared file in the Maildir is either being ignored, or doesn't > work the way I think it does. Any messages copied into the Maildir using a > m

[Dovecot] dovecot-shared being ignored?

2007-05-18 Thread bhayden
So, I'm working on a shared folder. Everything is nice except for one bit. My dovecot-shared file in the Maildir is either being ignored, or doesn't work the way I think it does. Any messages copied into the Maildir using a mail client are mode 660 and owned by the user who did the copy. Perms