Hello, due to a very large number of users we had to change the cyrus code to 
hide namespaces (in the command namespace).

We have added two options (list_on_user_space and list_on_shared_space)

without options, the namespace command returns the following result:
. namespace
* NAMESPACE (("INBOX." ".")) (("User." ".")) (("" ".")) . OK Completed

Then with the following options:
list_on_shared_space: 0
list_on_user_space: 0

. namespace
* NAMESPACE (("INBOX." ".")) NIL NIL
. OK Completed

There is no impact to users admins.

It is possible that I provide a patch.

Christophe.

-----Message d'origine-----
De : info-cyrus-bounces+christophe.zbierski=atosorigin....@lists.andrew.cmu.edu 
[mailto:info-cyrus-bounces+christophe.zbierski=atosorigin....@lists.andrew.cmu.edu]
 De la part de John Madden
Envoyé : lundi 25 juillet 2011 16:45
À : Cyrus User's Mailing List
Objet : disabling shared namespace

Our issues with cpu usage with very large mailbox databases (4 million
mailboxes) persist and I started poking at source code this morning, finally 
having time to look for a fix again.

I originally wrote about this some time ago:

http://comments.gmane.org/gmane.mail.imap.cyrus/32964

Again, we have no use for a shared mailbox namespace but there doesn't appear 
to be any way to easily disable it.  Could it be as simple as just removing 
everything but NAMESPACE_INBOX from the enum in imap/mboxname.h?  In other 
words, if we change it to

enum { NAMESPACE_INBOX = 0 };

will anything else break?

John




--
John Madden
Sr UNIX Systems Engineer / Office of Technology Ivy Tech Community College of 
Indiana jmad...@ivytech.edu
----
Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: 
http://lists.andrew.cmu.edu/pipermail/info-cyrus/



Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité d'Atos ne pourra être recherchée 
quant au contenu de ce message. Bien que les meilleurs efforts soient faits 
pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne 
aucune garantie à cet égard et sa responsabilité ne saurait être recherchée 
pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos liability cannot be triggered for the message 
content. Although the sender endeavours to maintain a computer virus-free 
network, the sender does not warrant that this transmission is virus-free and 
will not be liable for any damages resulting from any virus transmitted.

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Reply via email to