Re: [Dovecot] sdbox to mdbox

2011-01-05 Thread Joan Moreau
I tested this on my own mailbox. I have about 50 IMAP folders, about 25Gb of mails, and I do not know how many thousands of emails. I think the dsync shall not keep the file pointers opened, but process one ofter another somehow, so there shall be no limit in mailboxes size. On Wed, 5 Jan 201

Re: [Dovecot] sdbox to mdbox

2011-01-05 Thread Timo Sirainen
On 5.1.2011, at 19.33, Joan Moreau wrote: > dsync(j...@grosjo.net): Error: > open(/data/mail2/grosjo.net/jom/storage/.temp.1294246748.P26952Q8500M325824.server, > O_CREAT) failed: Too many open files Hmm. This is the main problem. How much messages do you have?.. I thought mdbox was supposed t

Re: [Dovecot] sdbox to mdbox

2011-01-05 Thread Joan Moreau
this is what I get: # gdb --args dsync -f -D -v -u 'j...@grosjo.net' -o mail_location=sdbox:/data/mail/grosjo.net/jom mirror mdbox:/data/mail2/grosjo.net/jom GNU gdb (GDB) SUSE (7.1-3.12) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

Re: [Dovecot] sdbox to mdbox

2011-01-05 Thread Timo Sirainen
On Tue, 2011-01-04 at 11:01 -0500, Joan Moreau wrote: > Not sure how do I get the "core" (core dumped are disabled in my > kernel) .. > backtrace. ulimit -c unlimited dsync ... gdb dsync core bt full Well, you could probably run the whole thing in gdb, but in some situations it doesn't work: gd

Re: [Dovecot] sdbox to mdbox

2011-01-04 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jan 04, 2011 at 11:01:25AM -0500, Joan Moreau wrote: > > > Not sure how do I get the "core" (core dumped are disabled in my > kernel) I think this is the "ulimit -c unlimited" part in Timo's mail. But we can't know for sure if we don't know

Re: [Dovecot] sdbox to mdbox

2011-01-04 Thread Joan Moreau
Not sure how do I get the "core" (core dumped are disabled in my kernel) On Tue, 04 Jan 2011 09:49:40 +0200, Timo Sirainen wrote: > On Mon, 2011-01-03 at 20:42 -0500, Joan Moreau wrote: > >> dsync[30214]: segfault at 0 ip 7f02990349eb sp 7fff56c2cc80 error 4 in libdovecot-storage.so.

Re: [Dovecot] sdbox to mdbox

2011-01-03 Thread Timo Sirainen
On Mon, 2011-01-03 at 20:42 -0500, Joan Moreau wrote: > dsync[30214]: segfault at 0 ip > 7f02990349eb sp 7fff56c2cc80 error 4 in > libdovecot-storage.so.0.0.0[7f0299001000+d3000] Get gdb backtrace. ulimit -c unlimited dsync ... gdb dsync core bt full signature.asc Description: This i

Re: [Dovecot] sdbox to mdbox

2011-01-03 Thread Joan Moreau
Ok, sorry, some bug on my side. Now, when doing the sync for all users, I get this every time: dsync[30214]: segfault at 0 ip 7f02990349eb sp 7fff56c2cc80 error 4 in libdovecot-storage.so.0.0.0[7f0299001000+d3000] Any idea ? On Mon, 3 Jan 2011 00:13:20 -0200, Henrique Fernandes wr

Re: [Dovecot] sdbox to mdbox

2011-01-02 Thread Henrique Fernandes
Can you email the output of # dovecont -n and # dsync -D ( rest of your comand ) Rememer, first dsync does not need to edit anyconf on dovecot! []'sf.rique On Thu, Dec 30, 2010 at 2:34 PM, Joan Moreau wrote: > > > Actually, the directory created by dsync contains correctly all the > fold

Re: [Dovecot] sdbox to mdbox

2010-12-30 Thread Joan Moreau
Actually, the directory created by dsync contains correctly all the folders of the original IMAP account. but they are empty ! (just one file "dovecot.index.log" ) What do I do wrong ? Thanks again On Fri, 24 Dec 2010 17:57:35 -0600, Stan Hoeppner wrote: > Joan Moreau put forth on 12/24

Re: [Dovecot] sdbox to mdbox

2010-12-28 Thread Joan Moreau
Thanks a lot. That works for me On Fri, 24 Dec 2010 17:57:35 -0600, Stan Hoeppner wrote: > Joan Moreau put forth on 12/24/2010 5:41 PM: > >> 1 - plan to have all the new emails in a different folder (say "/data/mail2" ) 2 - make a script that go through all users & domains 3 - for each us

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Henrique Fernandes
Hey, sorry i confused in other post that is going on the list, but i guess will be helpfull anyway! []'sf.rique On Fri, Dec 24, 2010 at 10:43 PM, Henrique Fernandes wrote: > Gonna start over and try to be more simply. > > > > > On Fri, Dec 24, 2010 at 9:57 PM, Stan Hoeppner wrote: > >> Joan Mor

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Henrique Fernandes
Gonna start over and try to be more simply. On Fri, Dec 24, 2010 at 9:57 PM, Stan Hoeppner wrote: > Joan Moreau put forth on 12/24/2010 5:41 PM: > > > 1 - plan to have all the new emails in a different folder (say > > "/data/mail2" ) > No. Do not need to do anything. > > 2 - make a script th

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Stan Hoeppner
Joan Moreau put forth on 12/24/2010 5:41 PM: > 1 - plan to have all the new emails in a different folder (say > "/data/mail2" ) > 2 - make a script that go through all users & domains > 3 - for each user (and therefore dbox folder), run "dsync -o > mail_location=sdbox:/data/mail/%d/%n mirror mdbox

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Joan Moreau
Thanks, but this keeps very unclear for me. Concretely, I have in my dovecot.conf: mail_gid = mail mail_location = dbox:/data/mail/%d/%n mail_uid = mailusers What you are saying is that, I shall : 1 - plan to have all the new emails in a different folder (say "/data/mail2" ) 2 - make a scri

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Daniel Luttermann
Joan Moreau wrote on 12/24/2010: > Thanks for the link, but the page is not really speaking about the > matter. > I clarify my question: > How to convert a "sdbox" system (in > production) to "mdbox" without loosing any email ? you can use this command for example (without loosing emails):

Re: [Dovecot] sdbox to mdbox

2010-12-23 Thread Joan Moreau
Thanks for the link, but the page is not really speaking about the matter. I clarify my question: How to convert a "sdbox" system (in production) to "mdbox" without loosing any email ? On Thu, 23 Dec 2010 21:26:18 -0600, Stan Hoeppner wrote: > Joan Moreau put forth on 12/23/2010 5:03 PM:

Re: [Dovecot] sdbox to mdbox

2010-12-23 Thread Stan Hoeppner
Joan Moreau put forth on 12/23/2010 5:03 PM: > What is the process to convert "sdbox" installation to a > "mdbox" installation ? http://wiki2.dovecot.org/Tools/Dsync -- Stan