Sujit Choudhury | 1 Sep 12:38 2005
Picon
Picon

Re: imap transfer

I have now managed to download imapsync.  As I will be transferring mail 
from one account to another account within the "SAME" server, do I need 
to use the passwords of the accounts (which are not available to us)?
I can do it as cyrus user hopefully?
I am asking this question because I am dealing with live server and 
don't want to mess it up.

If it is successful, is it necessary to do reconstruct?

Thanks for all your help.

Sujit

Tarjei Huse wrote:
> On Thu, 2005-08-25 at 13:37 +0100, Sujit Choudhury wrote:
> 
>>The problem is little simpler.  we have two accounts - one current, the 
>>other one is an old one.
>>The idea is to migrate the mail from old one to the current one and 
>>expunge the old account at some future date.  However the user has only 
>>access to the current account, no access to the old account.  So the 
>>user can not drag or drop or anything like that.
>>On top of that, we also don't have the passwords of neither accounts.
>>
>>Multiply the problem with 450 pairs - this is what we are facing.
> 
> 
> Maybe you can use a commandline tool like imapsync as and admin user
> (f.x. cyrus) and do it that way?
> T
(Continue reading)

brad | 1 Sep 15:40 2005
Picon

Re: Cyrus virtual domains

Try adding cyrus <at> aescbo.com to the admins line of imapd.conf and then
log into cyradm as cyrus <at> aescbo.com.

Brad

On Wed, 2005-08-31 at 18:00 -0400, Jesus Ruiz wrote:
> my admins look like:
> admins: cyrus
>  
> and i'm logging into cyradm like this:
> cyradm -u cyrus localhost
> 
> Jesus
>  
> On 8/31/05, brad <brad <at> bradandkim.net> wrote: 
>         On Wed, 2005-08-31 at 16:37 -0400, Jesus Ruiz wrote:
>         > Hi, i just managed to make work cyrus-imapd with cyrus-sasl
>         and ldap. 
>         >
>         > The problem i have is that when i try to create a virtual
>         users in the
>         > i get :
>         >
>         > createmailbox: Invalid mailbox name
>         > i'm trying to create the mailbox like this.
>         > cm user.jruiz <at> aescbo.com
>         >
>         
>         What does your 'admins:' line in /etc/imapd.conf look like and
>         how are
(Continue reading)

Saltmarsh, Evan M | 1 Sep 17:20 2005
Picon

Problem converting database

 

We are in the process of trying to convert our database from version 2.0.16 to 2.2.12.

 

To convert the our data we have tried the following:

Ctl_mboxlist –C /opt/csw/etc/cyrus/imapd.conf –d –f /tmp/ourdatabase.dmp

Ctl_mboxlist –C /opt/csw/etc/cyrus/imapd.conf –d –f /var/imap/mailboxes.db

 

Neither produces any results

 

Cvt_cyrusdb –C /opt/csw/etc/cyrus/imapd.conf /var/imap/mailboxes.db Berkeley /tmp/mailconv.db skiplist

Cvt_cyrusdb –C /opt/csw/etc/cyrus/imapd.conf /var/imap/mailboxes.db flat /tmp/mailconv.db skiplist

 

Neither produces any results.

 

Am I using the wrong syntax?  Does anyone have any suggestions?

 

Thanks,

 

Evan Saltmarsh

UNIX Systems Administrator

Information Technology Services

Vanderbilt University

Office:  (615) 322-2156

Cell:  (615) 491-4115

 

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Howard Shere | 1 Sep 17:39 2005

cyrus and postfix and mailman


I have searched the web and checked in the mailman forums and no one 
seems to have an answer.

I have postfix and cyrus setup and working. I want to add mailman to 
this setup. I was trying to do it without making a new virtual domain. 
My main domain is mutantegg.com, I just want the mail man addresses to 
be checked for first before incoming mail is handed to cyrus, but I 
can't get it to work.

I think it has to do with the fact that the local transport is cyrus 
and I have not found the right set of options in postfix to make it 
send mail to mailman if the addresses match before sending it to cyrus.

Anyone have any pointers?

Howard Shere
http://www.livejournal.com/users/realgreendragon/
Altair 8800a to Mac OS X so far...

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

Patrice | 1 Sep 18:10 2005
Picon

flat mailboxes performances for around 1500 entries

Hi,

Does someone know if the flat format type  for my /var/imap/mailboxes.db 
is good enough for only 1500 mailboxes ?

or it will impact performances ?

Thank you

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

Dave McMurtrie | 1 Sep 18:33 2005
Picon

Re: flat mailboxes performances for around 1500 entries

Patrice wrote:

> Does someone know if the flat format type  for my /var/imap/mailboxes.db 
> is good enough for only 1500 mailboxes ?

We use flat in our setup.  We have about 65000 users with 264265 mailboxes.

> or it will impact performances ?

It works fine for us.  Whether other formats would perform better, I 
can't say.  We never benchmarked.  Flat format isn't as bad as you would 
initially think, since cyrus mmap()s the file anyway.  The big hit you 
take is that each update requires the entire file to be re-written.

Thanks,

Dave

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

Saltmarsh, Evan M | 1 Sep 18:42 2005
Picon

How to export data from mailboxes.db

Does anyone know how to export the data in the mailboxes.db to a flat text file that can be used for importing?

 

Evan Saltmarsh

UNIX Systems Administrator

Information Technology Services

Vanderbilt University

Office:  (615) 322-2156

Cell:  (615) 491-4115

 

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
brad | 1 Sep 19:11 2005
Picon

Re: How to export data from mailboxes.db

As the cyrus user run:

ctl_mboxlist -d > filename

'filename' will now be a text file listing the mailboxes.  You can
directly edit this file.  When you are done making changes to it you can
re-import it with:

ctl_mboxlist -u < filename

You will want to move the mailboxes.db out of the way before importing
the text file:

mv mailboxes.db mailboxes.db.bak

the import command mentioned earlier adds to the mailboxes.db, it does
not overwrite mailboxes.db.

Hope that helps,

Brad

On Thu, 2005-09-01 at 11:42 -0500, Saltmarsh, Evan M wrote:
> Does anyone know how to export the data in the mailboxes.db to a flat
> text file that can be used for importing?
> 
>  
> 
> Evan Saltmarsh
> 
> UNIX Systems Administrator
> 
> Information Technology Services
> 
> Vanderbilt University
> 
> Office:  (615) 322-2156
> 
> Cell:  (615) 491-4115 
> 
>  
> 
> 
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

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

LaurentG | 1 Sep 19:23 2005
Picon

Slow LMTP

On a Debian Sarge with CyrusIMAP MURDER 2.2.8  and MTA Postfix, the following strange phenomenon appears :

LMTP dialog between frontend and backend slow down, with an increasing mailq. What happends : few frontend lmtpproxy processes fall in a CLOSE_WAIT state on the backend(s) lmtp port. Until the timeout nothing happends, the process doesn't work anymore. Whenever I kill one of those, a new fresh process starts, working fine.

It appears under charge when several dozens of mails are in the mailq.

Is it symptomatic of a bad parameter or a bad network configuration?
If not, what direction can I go for a better diagnostic?
Is it possible to shorten this timeout in order to let a new process take place faster?

Thanks for help.
Laurent.

"No phenomenon is a phenomenon until it is an observed phenomenon"
Niels Bohr
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Patrice | 1 Sep 19:08 2005
Picon

Re: flat mailboxes performances for around 1500 entries

Thank you Dave !

I will use 'flat' files then.

a last question :  do you use flat for all cyrus files or just for
mailboxes.db ?

Patrice

Dave McMurtrie wrote:

> Patrice wrote:
>
>> Does someone know if the flat format type  for my 
>> /var/imap/mailboxes.db is good enough for only 1500 mailboxes ?
>
>
> We use flat in our setup.  We have about 65000 users with 264265 
> mailboxes.
>
>> or it will impact performances ?
>
>
> It works fine for us.  Whether other formats would perform better, I 
> can't say.  We never benchmarked.  Flat format isn't as bad as you 
> would initially think, since cyrus mmap()s the file anyway.  The big 
> hit you take is that each update requires the entire file to be 
> re-written.
>
> Thanks,
>
> Dave
>
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>

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


Gmane