Re: Changing unixhierarchysep on a production system

2006-11-09 Thread Jo Rhett

Joel Nimety wrote:

What are the recommended steps for turning on unixhierarchysep on a
production system (running murder) that has unixhierarchysep off?

http://cyrusimap.web.cmu.edu/imapd/altnamespace.html indicates that this
can be done on the fly.  Do I have to run translatesieve?  Is
reconstruct necessary?  Any gotchas with murder?


Neither sieve nor reconstruct need to be done.  I don't know murder, and 
it's possible that you'll need to adjust sieve scripts if they have 
subfolders to replace "." with "/".


--
Jo Rhett
Network/Software Engineer
Net Consonance

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: performance on large inboxes

2006-11-09 Thread Marten Lehmann

Hello,


I did play with ext2 dir_hash, but didn't find it helping me much (it 
would help lookups sometimes, but slowed file creation significantly on 
my tests). I've also heard people praise reiserfs for it's performance 
under these conditions (personally I don't trust it, but some of that is 
historical baggage)


I'm using ext3 with dir_hash. I considered using XFS, but there are a 
lot of benchmarks that show that XFS is not faster in general, also the 
XFS development seems to be stucked at the moment and from my own 
experience as well as from other people in a recent thread on this 
mailinglist there are some really strange errors appearing from time to 
time with XFS that are making it a bad choice for production systems, 
especially when it happens, that the server crashs unexpectedly (i.e. a 
memory module fails). I tried to trust ReiserFS several times and I had 
so much problems with it, that I don't intend to use it ever again. Even 
 Novell/SuSE which praised ReiserFS for a long time turned away from it.


Regards
Marten

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


namespace question

2006-11-09 Thread Ivo Petrov
Hi all,

I have Cyrus-Imap 2.3.7 running with postfix 2.3.3 and
mysql 4.1.21. Authentication goes with sasl2 2.1.22,
plain text authentication+SSL and everything works
fine on FreeBSD 6.1.

I use alternate namespace in order to get
representation of the folders to be as they are not
subfolders of INBOX but instead to be on the same
level as INBOX.

My question is can I get cyrus-imap to place the
incoming messages not in the INBOX but in some other
folder which I can name Inbox. My point is that the
people want to organize their messages in subfolders
and if the mail comes to the Inbox folder they can
make subfolders of Inbox.

Let me give you graphically what I want to achieve.
With alternate namespace we have:

INBOX
Drafts
Templates
Sent
Trash

as it is seen from the mail clients.

If I try to make a subfolder of INBOX the picture is:

INBOX
Drafts
Templates
Sent
Trash
New Folder

My goal is to achieve the view like this:

Inbox
|_New Folder
Drafts
Templates
Sent
Trash.

Is it possible to do it and how can be done if
possible?

Thanks in advance.

Ivaylo Petrov
System Administrator
Abacus Trade Ltd.


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Changing unixhierarchysep on a production system

2006-11-09 Thread Joel Nimety
What are the recommended steps for turning on unixhierarchysep on a
production system (running murder) that has unixhierarchysep off?

http://cyrusimap.web.cmu.edu/imapd/altnamespace.html indicates that this
can be done on the fly.  Do I have to run translatesieve?  Is
reconstruct necessary?  Any gotchas with murder?

-- 
Joel Nimety
Systems Engineer III
203.541.3416
[EMAIL PROTECTED]
http://www.perimeterusa.com



--
The sender of this email subscribes to Perimeter Internetworking's email
anti-virus service. This email has been scanned for malicious code and is
believed to be virus free. For more information on email security please visit:
http://www.perimeterusa.com/malicious_code_defense_content.html

This communication is confidential, intended only for the named recipient(s)
above and may contain trade secrets or other information that is exempt from
disclosure under applicable law. Any use, dissemination, distribution or
copying of this communication by anyone other than the named recipient(s) is
strictly prohibited. If you have received this communication in error, please
delete the email and immediately notify our Command Center at 203-541-3444.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Does the quota include deleted but not yet expunged mails in v2.3 with delayed expunge?

2006-11-09 Thread Pascal Gienger

David Carter <[EMAIL PROTECTED]> wrote:


On Thu, 9 Nov 2006, Farzad FARID wrote:


I'm running Cyrus Imapd 2.3.7 with the delayed expunge mode. Do the
messages deleted by the user, but not yet expunged by the system, count
in the user's quota? I'd say yes but I'd like a confirmation.


Yes. \Deleted is just another flag on messages.


He does not talk about deleted and not yet expunged mails, he talks about 
the delayed expunge mode.
That means, the user expunges the mailbox, so all messages marked with 
\Deleted are expunged and removed from the user's quota. But the messages 
still remain physically in the file system until they are really expunged 
by the expire process. This is helpful if you want to be able to restore 
accidently deleted files very fast or if your file system has a very bad 
unlink performance, like xfs.


So Mr Farid, messages deleted and expunged by the user do not count in the 
user's quota even if the delayed expunge mode is turned on.


But keep in mind that the delayed messages still gobble up space in your 
filesystem.


Pascal Gienger

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Can cyradm list only local folder in a murder config?

2006-11-09 Thread Farzad FARID
Hi,

In my cyrus 2.3 murder setup I have 2 imap servers. If I connect with
'cyradm' on one of the imap servers and run "lm user.%" I get a list of
all the mailboxes on all servers.

I'd like to get the list of only local folders, is it possible? Actually
I'm even using a python cyrus library, so the solution has to work in
the python script too.

 Regards,

-- 
Farzad FARID <[EMAIL PROTECTED]>
Architecte Open Source / Pragmatic Source
http://www.pragmatic-source.com/


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Does the quota include deleted but not yet expunged mails in v2.3 with delayed expunge?

2006-11-09 Thread David Carter

On Thu, 9 Nov 2006, David Carter wrote:


On Thu, 9 Nov 2006, Farzad FARID wrote:

I'm running Cyrus Imapd 2.3.7 with the delayed expunge mode. Do the 
messages deleted by the user, but not yet expunged by the system, count 
in the user's quota? I'd say yes but I'd like a confirmation.


Yes. \Deleted is just another flag on messages.


Ah. If you meant expunged by the user but not yet expired by the system, 
then these don't count again the quota, just as Paul Engle suggests.


Sorry about any confusion.

--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Does the quota include deleted but not yet expunged mails in v2.3 with delayed expunge?

2006-11-09 Thread Paul Engle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


The way it works, as far as I understand it. (If I'm wrong, someone please 
correct me.) Using delayed expunge there are now 3 stages in message 
removal:

1) Message marked deleted, but not yet expunged (or purged or folders 
compacted--different clients use different terminology). These show up in 
the mailbox in a deleted state, but they still count towards quota.

2) Message expunged. Delayed expunge means the physical file still lives in 
the mailbox directory on the imap store, and it can be recovered with a 
command-line unexpunge. These are completely invisible to the IMAP clients, 
and as such I don't believe they count towards quota.

3) After cyr_expire's nightly run any messages in stage 2 that are old 
enough (default 3 days, I think) are physically deleted from the disk.

  -paul

- --On Thursday, November 09, 2006 05:25:52 PM +0100 Farzad FARID 
<[EMAIL PROTECTED]> wrote:

> Hi,
>
> I'm running Cyrus Imapd 2.3.7 with the delayed expunge mode. Do the
> messages deleted by the user, but not yet expunged by the system, count
> in the user's quota? I'd say yes but I'd like a confirmation.
>
>  Regards,
>
> --
> Farzad FARID <[EMAIL PROTECTED]>
> Architecte Open Source / Pragmatic Source
> http://www.pragmatic-source.com/
>
> 
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



- -- 
Paul D. Engle| Rice University
Sr. Systems Administrator| Information Technology - MS119
(713) 348-4702   | P.O. Box 1892
[EMAIL PROTECTED]  | Houston, TX 77251-1892
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFFU293CpkISWtyHNsRAgV1AKDnIXl1tmsrOHBa6TLLV9rDoRQdNACgg3VS
giFXWq05tTpuH//px/b2o4s=
=lYmx
-END PGP SIGNATURE-


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Does the quota include deleted but not yet expunged mails in v2.3 with delayed expunge?

2006-11-09 Thread David Carter

On Thu, 9 Nov 2006, Farzad FARID wrote:

I'm running Cyrus Imapd 2.3.7 with the delayed expunge mode. Do the 
messages deleted by the user, but not yet expunged by the system, count 
in the user's quota? I'd say yes but I'd like a confirmation.


Yes. \Deleted is just another flag on messages.

--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: performance on large inboxes

2006-11-09 Thread Chris Smith
On Thursday 09 November 2006 02:02, Paul Dekkers wrote:
> So maybe you're indeed facing the quality of your IMAP client

That can be a lot of it. I run a cyrus mail store on my local network and as 
much as I like Kmail it is painfully slow opening folders with a lot of 
messages (I have one with ~70,000) - even if there are no changes in the 
mailbox and I just left it and went back to it, for some reason whatever it 
is doing takes a long time (on a fast system with fast I/O and lots of 
memory) and there is little to no load being placed on the server during this 
time (according to top), while Thunderbird opens said folder instantly. I 
really hope Kmail will catch up as an imap client sooner rather than later.

Chris

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Does the quota include deleted but not yet expunged mails in v2.3 with delayed expunge?

2006-11-09 Thread Farzad FARID
Hi,

I'm running Cyrus Imapd 2.3.7 with the delayed expunge mode. Do the
messages deleted by the user, but not yet expunged by the system, count
in the user's quota? I'd say yes but I'd like a confirmation.

 Regards,

-- 
Farzad FARID <[EMAIL PROTECTED]>
Architecte Open Source / Pragmatic Source
http://www.pragmatic-source.com/


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



Re: Moving Cyrus Installation

2006-11-09 Thread AJ

I'll try it and report back.

Quoting Simon Matter <[EMAIL PROTECTED]>:


Is that true even if I go to the same version of Cyrus?  What if I
link against the same version of BerkelyeyDB that I have running on my
Redhat 7.3 system?  I believe it is 4.2.52.


That may work but I have not done it. It's quite a long time that I
switched all db's to skiplist and I won't come back.

Simon



Thanks.
AJ

Quoting Simon Matter <[EMAIL PROTECTED]>:


Hi,
  Can anyone offer any advice for moving our Cyrus installation from
one server which is Redhat 7.3 to a new server that will be RHEL4?  If
I install the same version of Cyrus on the new server, can I just move
all of the files over and things will be happy?  I was reading about
using XFER to move the mailboxes over, but we do not have a murder set
up.  Thanks for any advice.


If you are using BerkeleyDB, that won't work because ondisk format of
the
db's change. You have to export/import those BerkeleyDB files.

Simon



AJ



Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html












Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Moving Cyrus Installation

2006-11-09 Thread AJ
Is that true even if I go to the same version of Cyrus?  What if I  
link against the same version of BerkelyeyDB that I have running on my  
Redhat 7.3 system?  I believe it is 4.2.52.


Thanks.
AJ

Quoting Simon Matter <[EMAIL PROTECTED]>:


Hi,
  Can anyone offer any advice for moving our Cyrus installation from
one server which is Redhat 7.3 to a new server that will be RHEL4?  If
I install the same version of Cyrus on the new server, can I just move
all of the files over and things will be happy?  I was reading about
using XFER to move the mailboxes over, but we do not have a murder set
up.  Thanks for any advice.


If you are using BerkeleyDB, that won't work because ondisk format of the
db's change. You have to export/import those BerkeleyDB files.

Simon



AJ



Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html








Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Moving Cyrus Installation

2006-11-09 Thread Simon Matter
> Is that true even if I go to the same version of Cyrus?  What if I
> link against the same version of BerkelyeyDB that I have running on my
> Redhat 7.3 system?  I believe it is 4.2.52.

That may work but I have not done it. It's quite a long time that I
switched all db's to skiplist and I won't come back.

Simon

>
> Thanks.
> AJ
>
> Quoting Simon Matter <[EMAIL PROTECTED]>:
>
>>> Hi,
>>>   Can anyone offer any advice for moving our Cyrus installation from
>>> one server which is Redhat 7.3 to a new server that will be RHEL4?  If
>>> I install the same version of Cyrus on the new server, can I just move
>>> all of the files over and things will be happy?  I was reading about
>>> using XFER to move the mailboxes over, but we do not have a murder set
>>> up.  Thanks for any advice.
>>
>> If you are using BerkeleyDB, that won't work because ondisk format of
>> the
>> db's change. You have to export/import those BerkeleyDB files.
>>
>> Simon
>>
>>>
>>> AJ
>>>
>>>
>>> 
>>> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
>>> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
>>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>>>
>>
>

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: performance on large inboxes

2006-11-09 Thread David Carter

On Thu, 9 Nov 2006, Marten Lehmann wrote:


That was merged a long time back. doc/text/changes:


is it enabled by default? Or do I have to specify which headers in 
particular shall be cached?


It is enabled by default, but only applies to messages delivered after
you started to run 2.2.1 or later (unless you reconstruct).

Only a subset of X-Whatever headers are cached, but just about everything 
else is cached apart from the Received headers.


I should point out that the code in Cyrus is a significant improvement on 
my original version, courtesy of Rob Siemborski. The version in Cyrus 
makes it easy to add headers to the list which is cached.


--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Moving from a server without virtual domains to one with virtual domains.

2006-11-09 Thread Dmitriy Kirhlarov
On Wed, Nov 08, 2006 at 10:08:02PM +0100, Mikael Nehlsen wrote:

> I have an old MacOS X server with cyrus 2.2.12. Now I want to move it to
> a solaris box with cyrus 2.3.3.
> This should be no problem I believe, but I am trying to move from a
> server without virtual domains to one with virtual domains. I wonder if
> there is any problems with that?
> 
> My idea of the move is like:
> 
> * Rsync the osx server to the solaris server /var/spool/imap/ to
> /var/spool/imap/domain/domain.com/

You can get a problem. Different bdb versions, different OS, different
versions of cyrus.
Also, you want to use virtual domains. Is it mean, usernames changed
from "user" to "[EMAIL PROTECTED]"?
I guess imapsync best solution in your case.

> As a bonus question I wonder how I get the users out of ldap on the osx
> but that's for another place I guess  :) .

You can use saslauthd for this.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html