Re: cyrus-imapd v2.4.2 on CentOS issue with deleting users

2010-11-03 Thread Robert Spellman
On 11/2/10 5:42 PM, Bron Gondwana wrote: Ok - your IMAP client was holding the lock open so the cleanup didn't finish. Basically 2.4.x delays deletion of a mailbox until all the current users have closed it - which is why the files were still around. This may be pretty broken with subfolders

Testing CATENATE capability

2010-11-03 Thread Thibault Cassan
Hello everyone, I'm currently trying to implement the CATENATE extension (RFC 4469) on client-side, and I am working with Cyrus imapd 2.4.2 (AFAIK, this version is compliant with this extension). But I encounter some problems to manually call APPEND CATENATE using imtest. Here is the command I

Running Cyrus Imap under a different user

2010-11-03 Thread Gabriele Bulfon
Hello, I need to run cyrus as a different user, because for some reason I don't want to touch system users. I've built all the cyrus stuff under this different user, also using the configure switches (--with-cyrus-user=myuser --with-cyrus-group=mygroup). I followed the documentation to prepare

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Simon Matter
Hello, I need to run cyrus as a different user, because for some reason I don't want to touch system users. I've built all the cyrus stuff under this different user, also using the configure switches (--with-cyrus-user=myuser --with-cyrus-group=mygroup). I followed the documentation to

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Gabriele Bulfon
Thanx for the quick reply ;) Yes, environment is correctly exported. Maybe there is something I can tell to Linux so that it gives my environement to anyone changing user to myuser? -= Mail sent through WebTop2 =- --

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Simon Matter
Thanx for the quick reply ;) Yes, environment is correctly exported. Maybe there is something I can tell to Linux so that it gives my environement to anyone changing user to myuser? I'm not sure I understand correctly. I just tried it here like this: - log in as root - export some env vars -

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Clement Hermann (nodens)
Le 03/11/2010 18:03, Gabriele Bulfon a écrit : Thanx for the quick reply ;) Yes, environment is correctly exported. Maybe there is something I can tell to Linux so that it gives my environement to anyone changing user to myuser? You are not supposed to use sudo to do this. The correct way

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Gabriele Bulfon
Thanx, I understand what you mean, but I'm also supposed to stop and start the same deamon from this user again, manually, without su. I already solved the sudo problem, by wrapping the master launch inside a shell that will set the environment for it, and infact it does. What happens is later,

Re: cyrus-imapd v2.4.2 on CentOS issue with deleting users

2010-11-03 Thread Bron Gondwana
On Wed, Nov 03, 2010 at 09:49:12AM -0400, Robert Spellman wrote: On 11/2/10 5:42 PM, Bron Gondwana wrote: Ok - your IMAP client was holding the lock open so the cleanup didn't finish. Basically 2.4.x delays deletion of a mailbox until all the current users have closed it - which is why