Re: [Dovecot] dsync mbox->mdbox: Unexpectedly lost From-line and other issues from a big conversion.

2010-11-15 Thread Timo Sirainen
On 15.11.2010, at 18.15, Axel Thimm wrote: >> dsync2.log.old1:dsync(user): Error: Next message unexpectedly lost from mbox >> file /home/user/mail/lists/mplayerhq.hu/ffmpeg-devel at 58706201 (cached) >> dsync2.log.old1:dsync(user): Error: Next message unexpectedly lost from mbox >> file /home/us

[Dovecot] dsync mbox->mdbox: Unexpectedly lost From-line and other issues from a big conversion.

2010-11-15 Thread Axel Thimm
Hi, I'm trying to convert a 33GB mail store from mbox to compressed mdbox (largest mbox is 2.7GB). The source store is live, e.g. there are mails delivered into it and mails are being read. Actually it is my own mail. :) Although my test runs were very successful I have run into trouble with the

Re: [Dovecot] dsync, separator, but really - Default Namespace

2010-10-28 Thread Tobias Daucher
Am 28.10.2010 16:35, schrieb Daniel L. Miller: Just made the leap from 1.2 to 2.0.6 - and several maddening config typos I think I have a working system again! Getting closer to converting from maildir to mdbox, but first... Trying to use dsync gives me: dsync(root): Fatal: Mail locations must

Re: [Dovecot] dsync, separator, but really - Default Namespace

2010-10-28 Thread Joseba Torre
On Jueves 28 Octubre 2010 16:35:48 Daniel L. Miller escribió: > Ok - I 've never configured namespaces before...time to learn. So my > first attempt - is the following config the same as having no explicit > namespace declaration?: > > # My Default Namespace > namespace { >type = private >

[Dovecot] dsync, separator, but really - Default Namespace

2010-10-28 Thread Daniel L. Miller
Just made the leap from 1.2 to 2.0.6 - and several maddening config typos I think I have a working system again! Getting closer to converting from maildir to mdbox, but first... Trying to use dsync gives me: dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separa

Re: [Dovecot] dsync is seriously broken when syncing maildir and mdbox

2010-09-28 Thread Timo Sirainen
On 28.9.2010, at 20.08, interfaSys sàrl wrote: > I hope this doesn't sound too confusing. I'm trying to provide as much > info as I can. I'll look at this more closely again tomorrow, but full doveconf -n output will be helpful.

Re: [Dovecot] dsync is seriously broken when syncing maildir and mdbox

2010-09-28 Thread interfaSys sàrl
On 28/09/2010 19:54, Timo Sirainen wrote: > On Tue, 2010-09-28 at 03:08 +0100, interfaSys sàrl wrote: >> Hello, >> >> I thought mdbox was production ready, but it seems to me that (in 2.0.4) >> it's quite broken. >> >> 1) The documentation only running this to convert from maildir to mdbox: >> >

Re: [Dovecot] dsync is seriously broken when syncing maildir and mdbox

2010-09-28 Thread Timo Sirainen
On Tue, 2010-09-28 at 03:08 +0100, interfaSys sàrl wrote: > Hello, > > I thought mdbox was production ready, but it seems to me that (in 2.0.4) > it's quite broken. > > 1) The documentation only running this to convert from maildir to mdbox: > > *dsync mirror maildir:~/Maildir* > > but based o

[Dovecot] dsync is seriously broken when syncing maildir and mdbox

2010-09-27 Thread interfaSys sàrl
Hello, I thought mdbox was production ready, but it seems to me that (in 2.0.4) it's quite broken. 1) The documentation only running this to convert from maildir to mdbox: *dsync mirror maildir:~/Maildir* but based on my experience and on posts on the mailing list, it's not enough. A namespac

Re: [Dovecot] dsync crash

2010-09-17 Thread Timo Sirainen
On Thu, 2010-09-16 at 21:04 +0100, Timo Sirainen wrote: > On 16.9.2010, at 20.54, Vasiliy Shokov wrote: > > > $1 = 0x96b21a0 "/INBOX" > > What do you have in subscriptions files? I guess in dbox's side there's > "/INBOX" which was added while you still had the ".INBOX." namespace prefix > and t

Re: [Dovecot] dsync to move from 1.2 to 2.0

2010-09-17 Thread Timo Sirainen
On Thu, 2010-09-16 at 18:02 -0700, Daniel L. Miller wrote: > Does dsync perform an imap connection to the remote server to pull the > mails? No. It runs dsync on the remote server via ssh. So you need Dovecot v2.0 in both source and destination servers. But some day it could support IMAP access.

Re: [Dovecot] dsync - how to speed up

2010-09-17 Thread Timo Sirainen
On Fri, 2010-09-17 at 15:23 +0200, Burckhard Schmidt wrote: > dsync -v -u user mirror mbox:/old-homehome/~user:INBOX=/old-inbox/user > > It works but it lasts "very long" time. > For one mailbox with 2,4 Gb and nearly 200.000 emails it lasts 100 minutes. > I would like to migrate 1.500 Gb - not po

[Dovecot] dsync - how to speed up

2010-09-17 Thread Burckhard Schmidt
Hi, I have converted some mbox mailboxes to maildir. Inbox and folders had been cpopied before into a separate directories "old-home" and old-inbox onto the new server (dovecot 2.0.2. with fix hg.dovecot.org/dovecot-2.0/rev/14a6e526900d). dsync -v -u user mirror mbox:/old-homehome/~user:INBOX

Re: [Dovecot] dsync: mbox to maildir

2010-09-17 Thread Burckhard Schmidt
On 14.09.2010 17:44, Timo Sirainen wrote: On Fri, 2010-09-03 at 17:31 +0200, Burckhard Schmidt wrote: 1. autocreate The plugin autocreate = AutoCleanSpam is activated for lda and imap. There is no user with such folder. dsync ceates two: dsync(account): Info: AutoCleanSpam: only in source dsy

[Dovecot] dsync to move from 1.2 to 2.0

2010-09-16 Thread Daniel L. Miller
I'm not certain of the correct syntax for this - and I'm reluctant to risk my live data by experimenting. I've setup a 2.0.2 server on a virtual machine, and I want to copy a live account over to it for testing. Not that it should matter, but the 1.2 machine is using maildir and I want to gi

Re: [Dovecot] dsync crash

2010-09-16 Thread Timo Sirainen
On 16.9.2010, at 20.54, Vasiliy Shokov wrote: > $1 = 0x96b21a0 "/INBOX" What do you have in subscriptions files? I guess in dbox's side there's "/INBOX" which was added while you still had the ".INBOX." namespace prefix and that causes it to still crash?

Re: [Dovecot] dsync crash

2010-09-16 Thread Vasiliy Shokov
>> #7 0x0014d9bd in mailbox_list_get_path () from >> /usr/lib/dovecot/libdovecot-storage.so.0 >> No symbol table info available. > .. >> > (If it doesn't print the name, try a different number to "fr", it's >> the >> > mailbox_list_is_valid_pattern frame in the bt.) >> > >> >> I didn't see this pa

Re: [Dovecot] dsync crash

2010-09-16 Thread Vasiliy Shokov
>> #7 0x0014d9bd in mailbox_list_get_path () from >> /usr/lib/dovecot/libdovecot-storage.so.0 >> No symbol table info available. > .. >> > (If it doesn't print the name, try a different number to "fr", it's >> the >> > mailbox_list_is_valid_pattern frame in the bt.) >> > >> >> I didn't see this pa

Re: [Dovecot] dsync crash

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 21:40 +0400, Vasiliy Shokov wrote: > #7 0x0014d9bd in mailbox_list_get_path () from > /usr/lib/dovecot/libdovecot-storage.so.0 > No symbol table info available. .. > > (If it doesn't print the name, try a different number to "fr", it's the > > mailbox_list_is_valid_pattern fr

Re: [Dovecot] dsync crash

2010-09-16 Thread Vasiliy Shokov
> Could you check with gdb what the invalid name is? > >> dsync(v.shokov): Panic: file mailbox-list-fs.c: line 150 >> (fs_list_get_path): assertion failed: >> (mailbox_list_is_valid_pattern(_list, name)) > > So probably something like: > > ulimit -c unlimited > dsync ... > gdb dsync core > bt full

Re: [Dovecot] dsync crash

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 14:48 +0400, Vasiliy Shokov wrote: > I removed hierarchy separator from start of namespace prefix (now it looks > like "INBOX.") and moved folders. > > Still same result. Could you check with gdb what the invalid name is? > dsync(v.shokov): Panic: file mailbox-list-fs.c: l

Re: [Dovecot] dsync mirror duplicates problem

2010-09-16 Thread Timo Sirainen
On Wed, 2010-09-15 at 19:30 +0100, Timo Sirainen wrote: > Hmm.. I guess one solution to this would be to allow overriding the > filename as GUID in dovecot-uidlist.. Or I can't really even think of > any other solution. Hopefully won't be too horribly difficult to > implement it. Implemented: htt

Re: [Dovecot] dsync crash

2010-09-16 Thread Vasiliy Shokov
>> namespace { >> hidden = no >> inbox = yes >> location = maildir:~/mail/inbox/:INDEX=/var/dovecot_index/%u/inbox >> prefix = .INBOX. > > Uh. Does this really work with IMAP clients? A namespace prefix must not > start with hierarchy separator. My guess is that the crash happens > because

Re: [Dovecot] dsync mirror duplicates problem

2010-09-15 Thread Timo Sirainen
On Sat, 2010-08-28 at 17:58 +0200, Waldemar W. wrote: > Problem occurs when mails arrive in the same folder on both sides then > dsync sometimes runs into problems > and duplicates that entrys on both side(2mails then with same > content). After running again > the same happens again(now 4 mails

Re: [Dovecot] dsync crash

2010-09-15 Thread Timo Sirainen
On Wed, 2010-09-15 at 18:34 +0400, Василий Шоков wrote: > > namespace { > hidden = no > inbox = yes > location = maildir:~/mail/inbox/:INDEX=/var/dovecot_index/%u/inbox > prefix = .INBOX. Uh. Does this really work with IMAP clients? A namespace prefix must not start with hierarchy separat

[Dovecot] dsync crash

2010-09-15 Thread Василий Шоков
Hello, When I run dsync -u v.shokov -Dv mirror sdbox:/dsync/v.shokov first time, process halting. On second time I receive this error: dsync(root): Debug: auth input: v.shokov system_groups_user=v.shokov uid=1 gid=100 home=/home/v.shokov dsync(root): Debug: Effective uid=1000

Re: [Dovecot] Dsync error, Targer mailbox already exists

2010-09-14 Thread Timo Sirainen
I hope so. Let me know if not. On 14.9.2010, at 20.24, Henrique Fernandes wrote: > Thanks. > > Now i can do dsync both ways ? > > []'sf.rique > > > On Tue, Sep 14, 2010 at 12:22 PM, Timo Sirainen wrote: > >> On Fri, 2010-09-03 at 21:33 -0300, Henrique Fernandes wrote: >>> Hey, why i am gett

Re: [Dovecot] Dsync error, Targer mailbox already exists

2010-09-14 Thread Henrique Fernandes
Thanks. Now i can do dsync both ways ? []'sf.rique On Tue, Sep 14, 2010 at 12:22 PM, Timo Sirainen wrote: > On Fri, 2010-09-03 at 21:33 -0300, Henrique Fernandes wrote: > > Hey, why i am getting this error ? > > dsync(u...@example.com): Error: Can't rename mailbox > > VoIP_08300a224c41694c0d0

Re: [Dovecot] dsync: mbox to maildir

2010-09-14 Thread Timo Sirainen
On Fri, 2010-09-03 at 17:31 +0200, Burckhard Schmidt wrote: > 1. autocreate > The plugin autocreate = AutoCleanSpam is activated for lda and imap. > There is no user with such folder. > dsync ceates two: > > dsync(account): Info: AutoCleanSpam: only in source > dsync(account): Info: AutoCleanSpam:

Re: [Dovecot] Dsync error, Targer mailbox already exists

2010-09-14 Thread Timo Sirainen
On Fri, 2010-09-03 at 21:33 -0300, Henrique Fernandes wrote: > Hey, why i am getting this error ? > dsync(u...@example.com): Error: Can't rename mailbox > VoIP_08300a224c41694c0d0f20ce4ec5 to VoIP: Target mailbox already exists These should fix this: http://hg.dovecot.org/dovecot-2.0/rev/ba92

Re: [Dovecot] dsync: mbox to maildir hangs

2010-09-13 Thread Timo Sirainen
On Mon, 2010-09-13 at 18:18 +0100, Timo Sirainen wrote: > On Mon, 2010-09-13 at 18:54 +0200, Burckhard Schmidt wrote: > > > dsync uses about 75% of one cpu all the time. I was waiting more than 50 > > minutes but no progress. > > I have to use kill -9 to stop it. > > Sounds like an infinite loo

Re: [Dovecot] dsync: mbox to maildir hangs

2010-09-13 Thread Timo Sirainen
On Mon, 2010-09-13 at 18:54 +0200, Burckhard Schmidt wrote: > dsync uses about 75% of one cpu all the time. I was waiting more than 50 > minutes but no progress. > I have to use kill -9 to stop it. Sounds like an infinite loop. I guess you can easily reproduce this? Try running dsync via gdb an

[Dovecot] dsync: mbox to maildir hangs

2010-09-13 Thread Burckhard Schmidt
Hello, after successfully converting some mailboxes I have a problem: dsync does not finish its work. dovecot 2.0.2. mail-location maildir:~/maildir I have copied the old Inbox and folders into /mailstore1/import-inbox and /mailstore1/import-home to the new server. (used with Dovecot 1.0.13 b

[Dovecot] Dsync error, Targer mailbox already exists

2010-09-03 Thread Henrique Fernandes
Hey, why i am getting this error ? dsync(u...@example.com): Error: Can't rename mailbox VoIP_08300a224c41694c0d0f20ce4ec5 to VoIP: Target mailbox already exists It happens when i run dsync twice, but it should do only changes right ? dovecot 2.0 I am traying to convert all my user mboc to ma

[Dovecot] dsync: mbox to maildir

2010-09-03 Thread Burckhard Schmidt
Hello, I started converting INBOX and folder from mbox to maildir. The old folders comming from Dovecot 1.0.13 with a mail_location mbox:%h:INBOX=/inbox/%u. The new instalation on a different server is Dovecot 2.0.1, mail-location maildir:~/maildir:INDEX=/addons/index/%u: CONTROL=~/control:LA

Re: [Dovecot] dsync mirror duplicates problem

2010-08-30 Thread Waldemar W.
On Sat, 28 Aug 2010 17:58:38 +0200, "Waldemar W." wrote: > Im trying to sync 2 mailserver with dsync mirror functionality. > > Problem occurs when mails arrive in the same folder on both sides > then dsync sometimes runs into problems > and duplicates that entrys on both side(2mails then with sam

[Dovecot] dsync mirror duplicates problem

2010-08-28 Thread Waldemar W.
Im trying to sync 2 mailserver with dsync mirror functionality. Problem occurs when mails arrive in the same folder on both sides then dsync sometimes runs into problems and duplicates that entrys on both side(2mails then with same content). After running again the same happens again(now 4 mail

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-25 Thread Timo Sirainen
On 25.8.2010, at 20.41, Henrique Fernandes wrote: > Timo, for dsync, it does not require to have dovecot running, but dsync does > require that dovecot and shared libs and etc are installed in the > destination ssh server right ? It needs to have dsync and usually doveconf installed and runnable.

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-25 Thread Henrique Fernandes
Timo, for dsync, it does not require to have dovecot running, but dsync does require that dovecot and shared libs and etc are installed in the destination ssh server right ? When dsync are sync mailbox format, when an email are deleted, it only delete the other part from where it is sync, or it do

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-23 Thread Timo Sirainen
On Sat, 2010-08-21 at 09:51 -0700, Marc Perkel wrote: > Ok - when I type dsync at the command line it says: > > usage: dsync [-C ] [-m ] [-u ] [-frRv] >mirror | [@] | > > However the man page mentions nothing about any remote commands. I'm not really sure what more to write about it. It j

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Aug 21, 2010 at 02:00:19PM -0400, Charles Marcus wrote: > On 2010-08-21 12:51 PM, Marc Perkel wrote: > > When you write software you never have to learn it so you don't have > > the perspective of someone who never heard of it before and wonde

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-22 Thread Marc Perkel
On 8/22/2010 7:29 AM, Jerry wrote: On Sat, 21 Aug 2010 09:51:12 -0700 Marc Perkel articulated: When you write software you never have to learn it so you don't have the perspective of someone who never heard of it before and wondering "what is this?" That has always been the problem when the

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-22 Thread Jerry
On Sat, 21 Aug 2010 09:51:12 -0700 Marc Perkel articulated: > When you write software you never have to learn it so you don't have > the perspective of someone who never heard of it before and wondering > "what is this?" That has always been the problem when the instruction books is written by t

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Charles Marcus
On 2010-08-21 3:56 PM, Marc Perkel wrote: > You are missing the point. When documentation is done right then you > don't have to google it unless you are doing something tricky. True - but 2.0 is brand new, so instead of posting to the list mostly a vague complaint with a vague offer of a future

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Pascal Volk
On 08/21/2010 09:58 PM Marc Perkel wrote: > Besides - the wiki has the same incomplete information as the man page. Yeah, the wiki shows the manual page. ;-) But now it's time to tell us, waht you are missing / what's incomplete. (see also MID:) Regards, Pascal -- The trapper recommends today:

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Marc Perkel
On 8/21/2010 11:00 AM, Charles Marcus wrote: On 2010-08-21 12:51 PM, Marc Perkel wrote: When you write software you never have to learn it so you don't have the perspective of someone who never heard of it before and wondering "what is this?" Mark, is this another case of your absolute failu

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Marc Perkel
On 8/21/2010 11:00 AM, Charles Marcus wrote: On 2010-08-21 12:51 PM, Marc Perkel wrote: When you write software you never have to learn it so you don't have the perspective of someone who never heard of it before and wondering "what is this?" Mark, is this another case of your absolute failu

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Bradley Giesbrecht
On Aug 21, 2010, at 11:42 AM, Brandon Lamb wrote: On Sat, Aug 21, 2010 at 11:00 AM, Charles Marcus wrote: On 2010-08-21 12:51 PM, Marc Perkel wrote: When you write software you never have to learn it so you don't have the perspective of someone who never heard of it before and wondering

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Brandon Lamb
On Sat, Aug 21, 2010 at 11:00 AM, Charles Marcus wrote: > On 2010-08-21 12:51 PM, Marc Perkel wrote: >> When you write software you never have to learn it so you don't have >> the perspective of someone who never heard of it before and wondering >> "what is this?" > > Mark, is this another case o

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Charles Marcus
On 2010-08-21 12:51 PM, Marc Perkel wrote: > When you write software you never have to learn it so you don't have > the perspective of someone who never heard of it before and wondering > "what is this?" Mark, is this another case of your absolute failure to even *try* to google the answer for yo

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Marc Perkel
On 8/21/2010 9:16 AM, Timo Sirainen wrote: On 21.8.2010, at 16.24, Marc Perkel wrote: Started looking into the dsync utility and the doc are seriously incomplete. I can of course scour the internet looking for the missing information but that doesn't fix the problem with the docs. I might t

Re: [Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Timo Sirainen
On 21.8.2010, at 16.24, Marc Perkel wrote: > Started looking into the dsync utility and the doc are seriously incomplete. > I can of course scour the internet looking for the missing information but > that doesn't fix the problem with the docs. I might try to rewrite the docs > myself once I fi

[Dovecot] DSYNC needs a lot more documentation

2010-08-21 Thread Marc Perkel
Started looking into the dsync utility and the doc are seriously incomplete. I can of course scour the internet looking for the missing information but that doesn't fix the problem with the docs. I might try to rewrite the docs myself once I figure it out.

Re: [Dovecot] dsync and active-active fault tolerance mail servers

2010-08-21 Thread Luigi Rosa
Timo Sirainen said the following on 21/08/2010 14.54: Maybe simply: dsync mirror -u u...@domain mail2.acme.com Timo, thank you for all your answers. I will set up a replicated active-active configuration in the following weeks and I will let you know if problems arise. Ciao, luigi -- /

Re: [Dovecot] dsync and active-active fault tolerance mail servers

2010-08-21 Thread Timo Sirainen
On 21.8.2010, at 9.05, Luigi Rosa wrote: > The replica is done via dsync with a procedure like this executed on > mail1.acme.com server: > > foreach mailbox { > dsync mirror mailbox > } > > 1) Use Linux user/group owner of the files and directories are the same on > both hosts (they are

[Dovecot] dsync and active-active fault tolerance mail servers

2010-08-21 Thread Luigi Rosa
I would like to set up an active-active fault tolerance couple of mail servers. Is the following procedure correct? Let's suppose I want to set up two servers for acme.com, mail1.acme.com and mail2.acme.com I declare both servers as MX in DNS configuration. Mailbox are stored in maildir with

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Henrique Fernandes
I always try. But i ask somestuf i haven't tried yet. But thanks anyway! []'sf.rique On Tue, Aug 3, 2010 at 3:58 PM, Timo Sirainen wrote: > On Tue, 2010-08-03 at 14:28 -0300, Henrique Fernandes wrote: > > Thanks! > > > > I want in the same place i as did in the comand dsync -D -vv -u > > s.

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Timo Sirainen
On Tue, 2010-08-03 at 14:28 -0300, Henrique Fernandes wrote: > Thanks! > > I want in the same place i as did in the comand dsync -D -vv -u > s...@example.com mirror maildir:/CX4/vdomains/nti.uff.br/stak/mail/ > > It will be in the folders new, cur, tmp or it will create an imap folder > .INBOX w

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Henrique Fernandes
Thanks! I want in the same place i as did in the comand dsync -D -vv -u s...@example.com mirror maildir:/CX4/vdomains/nti.uff.br/stak/mail/ It will be in the folders new, cur, tmp or it will create an imap folder .INBOX with the folders cur, new and tpm inside of it? Sorry about so many questi

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Timo Sirainen
On Tue, 2010-08-03 at 13:11 -0300, Henrique Fernandes wrote: > Is not a problem, is not sync, but i guess i have old code. > > > my question is: > i declare inbox in a diferente location! > mail_location = mbox:/CX4/vdomains/%d/home/% > n/mail:INBOX=/CX4/vdomains/%d/var/spool/mail/% > n:INDEX=/tm

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Henrique Fernandes
Is not a problem, is not sync, but i guess i have old code. my question is: i declare inbox in a diferente location! *mail_location = mbox:/CX4/vdomains/%d/home/%n/mail:INBOX=/CX4/vdomains/%d/var/spool/mail/%n:INDEX=/tmp/imap-index/%d/%n * When i dsync with: # dsync -D -vv -u s...@example.com

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Timo Sirainen
On Tue, 2010-08-03 at 12:13 -0300, Henrique Fernandes wrote: > But my question still, how the inbox will be sync ? What exactly is the problem with INBOX?

Re: [Dovecot] dsync & subscription

2010-08-03 Thread Timo Sirainen
On Thu, 2010-07-29 at 10:55 +0600, Ильяс Рахимов wrote: > When I migrans mailbox from one server to the second file subscribe "/" is > replaced by a point "." > > the first file server subscription: > & BB4EMQRJBDgENQ-& BD8EMAQ, BDoEOA-/firstname.secondname > after migration to the second server:

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Henrique Fernandes
Probally i do not have the new code, the package was compiled at jul 21 i think you rnew code to dsync is newer! Sorry, after i upgrade the dovecot i post it here. But my question still, how the inbox will be sync ? []'sf.rique On Tue, Aug 3, 2010 at 12:11 PM, Henrique Fernandes wrote: > I m

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Henrique Fernandes
I might do not have the latest version! Sorry, i am using a pre compiled package now. Virtualization issues. Sorry. # dovecot --version 2.0.rc3 The pacake i am using is dovecot-2.0-0.18_114_rc3.el5.x86_64.rpm don't know if it has

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-08-03 Thread Henrique Fernandes
Thanks for the explanation. []'sf.rique On Tue, Aug 3, 2010 at 11:57 AM, Timo Sirainen wrote: > On Tue, 2010-08-03 at 11:20 -0300, Henrique Fernandes wrote: > > > Like > > location1 is production. > > > > location1 has 1000 emails. > > > > I mirror it to location2 > > > > Now the owner of loca

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Henrique Fernandes
Oh, sorry, i had just did this! Without the inbox. Seans it is runing now! I just send an question about dsync in another thread, could you take a look please ? Thanks! Appreciate. But it seens i did not get the inbox. In the other thread you said it got it. I did not convert the inbox! And

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-08-03 Thread Timo Sirainen
On Tue, 2010-08-03 at 11:20 -0300, Henrique Fernandes wrote: > Like > location1 is production. > > location1 has 1000 emails. > > I mirror it to location2 > > Now the owner of location1 deletes some emails! and have now 989 > > If i do mirroging again, it has to choose if it will copy back fro

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Timo Sirainen
On Tue, 2010-08-03 at 11:39 -0300, Henrique Fernandes wrote: > Ok, now i am getting this: > > # dsync -D -vv -u s...@example.com mirror maildir:/CX4/vdomains/ > example.com/stak/mail/ -o separator=/ > dsync(root): Fatal: execvp(maildir:/CX4/vdomains/example.com/stak/mail/) > failed: No su

Re: [Dovecot] Dsync fatal error.

2010-08-03 Thread Henrique Fernandes
Ok, now i am getting this: # dsync -D -vv -u s...@example.com mirror maildir:/CX4/vdomains/ example.com/stak/mail/ -o separator=/ dsync(root): Fatal: execvp(maildir:/CX4/vdomains/example.com/stak/mail/) failed: No such file or directory dsync-local(s...@example.com): Error: read() fro

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-08-03 Thread Henrique Fernandes
Timo, if it does mirroring, i does matter the way! it has to choose one location to mirror. Like location1 is production. location1 has 1000 emails. I mirror it to location2 Now the owner of location1 deletes some emails! and have now 989 If i do mirroging again, it has to choose if it will c

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-08-03 Thread Henrique Fernandes
Timo, if it does mirroring, i does matter the way! it has to choose one location to mirror. Like location1 is production. location1 has 1000 emails. I mirror it to location2 Now the owner of location1 deletes some emails! and have now 989 If i do mirroging again, it has to choose if it will c

[Dovecot] Dsync fatal error.

2010-08-03 Thread Henrique Fernandes
#dsync -D -vv -u s...@nti.uff.br mirror maildir:/CX4/vdomains/ nti.uff.br/stak/mail dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for the default namespace) My mail.conf *mail_location = mbox:/CX4/vdomains/%d/home/%n/mail:INBOX=/CX4/v

[Dovecot] dsync & subscription

2010-07-28 Thread Ильяс Рахимов
Hello! When I migrans mailbox from one server to the second file subscribe "/" is replaced by a point "." the first file server subscription: & BB4EMQRJBDgENQ-& BD8EMAQ, BDoEOA-/firstname.secondname after migration to the second server: & BB4EMQRJBDgENQ-& BD8EMAQ, BDoEOA-.firstname.secondname on

Re: [Dovecot] Dsync error when working dir o-rwx

2010-07-26 Thread Timo Sirainen
On Sat, 2010-07-24 at 11:15 +0200, Jan Vítek wrote: > # dsync -D -v -u 'i...@example.org' -o 'mail_privileged_group=mail' -o > 'mail_location=mbox:/email/i...@example.org/mail:INBOX=/var/mail/i...@example.org' > > mirror 'maildir:~/Maildir' > dsync(i...@example.org): Info: Sport: only in source

[Dovecot] Dsync error when working dir o-rwx

2010-07-24 Thread Jan Vítek
Hi, I dont know why dsync requires o+rx in working dir, at least it could give better error message when working dir has o-rwx. # cd # mkdir test # cd test # dsync -D -v -u 'i...@example.org' -o 'mail_privileged_group=mail' -o 'mail_location=mbox:/email/i...@example.org/mail:INBOX=/var/mail/i

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-07-23 Thread Henrique Fernandes
Oh, ok. I thought it did mirroring by the one location, even if the other location is newer! []'sf.rique On Thu, Jul 22, 2010 at 5:54 PM, Timo Sirainen wrote: > On 22.7.2010, at 21.11, Henrique Fernandes wrote: > > > location1 is mdbox:~/mdbox and location2 is maildir:~/Maildir Right ? >

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-07-22 Thread Timo Sirainen
On 22.7.2010, at 21.11, Henrique Fernandes wrote: > location1 is mdbox:~/mdbox and location2 is maildir:~/Maildir Right ? or > is backwards ? It takes location2 and convert to location1 ? > > The first guys explain location1 to location2 > > Wich one is right ? Sorry i do not have any dovec

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-07-22 Thread Henrique Fernandes
Is it right ? Converting ☜ Assuming that the *mail_location* setting in * /etc/dovecot/conf.d/10-mail.conf* is set to: *mail_location = mdbox:~/mdbox*, a logged in system user may convert her/his mails from its Maildir in her/his home dire

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-07-22 Thread Timo Sirainen
On Thu, 2010-07-22 at 15:53 -0300, Henrique Fernandes wrote: > dsync -u -f 'u...@dom.com' mirror 'maildir:/path/maildir-format' -f -u u...@dom.com. Although -f isn't necessary at all. > and after i run this comand i have to change the config on my sql to the > user have the new maildir settings

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-07-22 Thread Jan Vítek
Tested, works now. Thanks. JV - Original Message - From: "Timo Sirainen" To: "Jan Vítek" Cc: Sent: Thursday, July 22, 2010 5:39 PM Subject: Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir On Thu, 2010-07-22 at 16:09 +0200, Jan Vítek

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-07-22 Thread Henrique Fernandes
I have a question, before ( beta4 ) dsync had the convert command. Now it does not have anymore right ? All my emails are in mbox format. And i want to convert them to maildir. Before on the testes, i had to configure userspaces ( i did that using mysql per user configuration ) so the user now h

Re: [Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-07-22 Thread Timo Sirainen
On Thu, 2010-07-22 at 16:09 +0200, Jan Vítek wrote: > I am trying to convert email box in mbox format to maildir++. It > converts all folders except INBOX. For example: .. > mail_location = mbox:~/mail:INBOX=/var/mail/%u Fixed: http://hg.dovecot.org/dovecot-2.0/rev/459bd9621197

[Dovecot] Dsync ignores INBOX when converting from mbox to maildir

2010-07-22 Thread Jan Vítek
Hi, I am trying to convert email box in mbox format to maildir++. It converts all folders except INBOX. For example: dsync -D -v -f -u 'i...@example.org' mirror 'maildir:~/Maildir' prints: dsync(i...@example.org): Info: Sport: only in source So it converts Sport folder, but INBOX folder is ign

Re: [Dovecot] dsync segmentation fault

2010-07-19 Thread Brandon Lamb
On Mon, Jul 19, 2010 at 9:45 AM, Brandon Lamb wrote: > On Mon, Jul 19, 2010 at 9:28 AM, Timo Sirainen wrote: >> On Sun, 2010-07-18 at 00:08 -0700, Brandon Lamb wrote: >>> dsync -u bran...@olypen.com mirror mdbox~/mdbox >> >> What version? Maybe I already fixed it? >> >> ./dsync -u tss mirror mdbo

Re: [Dovecot] dsync segmentation fault

2010-07-19 Thread Brandon Lamb
On Mon, Jul 19, 2010 at 9:28 AM, Timo Sirainen wrote: > On Sun, 2010-07-18 at 00:08 -0700, Brandon Lamb wrote: >> dsync -u bran...@olypen.com mirror mdbox~/mdbox > > What version? Maybe I already fixed it? > > ./dsync -u tss mirror mdbox~/mdbox > dsync(tss): Fatal: execvp(mdbox~/mdbox) failed: No

Re: [Dovecot] dsync segmentation fault

2010-07-19 Thread Timo Sirainen
On Sun, 2010-07-18 at 00:08 -0700, Brandon Lamb wrote: > dsync -u bran...@olypen.com mirror mdbox~/mdbox What version? Maybe I already fixed it? ./dsync -u tss mirror mdbox~/mdbox dsync(tss): Fatal: execvp(mdbox~/mdbox) failed: No such file or directory dsync-local(tss): Error: read() from worker

[Dovecot] dsync segmentation fault

2010-07-18 Thread Brandon Lamb
dsync -u bran...@olypen.com mirror mdbox~/mdbox Segmentation fault Took me 3 tries before I noticed the missing colon after mdbox

Re: [Dovecot] dsync crash

2010-07-12 Thread Matthias Rieber
Hi, On Mon, 12 Jul 2010, Timo Sirainen wrote: On Mon, 2010-07-12 at 14:42 +0200, Matthias Rieber wrote: dsync-local(matthias): Panic: dsync brain state=10 # dovecot --version 2.0.rc2 (fec7013c628b) What about with the last two patches? http://hg.dovecot.org/dovecot-2.0/rev/95de0b0b6171 ht

Re: [Dovecot] dsync crash

2010-07-12 Thread Matthias Rieber
Hi, On Mon, 12 Jul 2010, Timo Sirainen wrote: On Mon, 2010-07-12 at 08:21 +0200, Matthias Rieber wrote: while syncing dsync crashed: dsync-local(matthias): Panic: dsync brain state=10 How new Dovecot version? I did several fixes last few days. I think it could have been fixed by this one (

Re: [Dovecot] dsync crash

2010-07-12 Thread Timo Sirainen
On Mon, 2010-07-12 at 14:42 +0200, Matthias Rieber wrote: > >> dsync-local(matthias): Panic: dsync brain state=10 > > > # dovecot --version > 2.0.rc2 (fec7013c628b) What about with the last two patches? http://hg.dovecot.org/dovecot-2.0/rev/95de0b0b6171 http://hg.dovecot.org/dovecot-2.0/rev/fa883

Re: [Dovecot] dsync crash

2010-07-12 Thread Matthias Rieber
Hi, On Mon, 12 Jul 2010, Timo Sirainen wrote: On Mon, 2010-07-12 at 08:21 +0200, Matthias Rieber wrote: while syncing dsync crashed: dsync-local(matthias): Panic: dsync brain state=10 How new Dovecot version? I did several fixes last few days. I think it could have been fixed by this one (

Re: [Dovecot] dsync crash

2010-07-12 Thread Timo Sirainen
On Mon, 2010-07-12 at 08:21 +0200, Matthias Rieber wrote: > while syncing dsync crashed: > > dsync-local(matthias): Panic: dsync brain state=10 How new Dovecot version? I did several fixes last few days. I think it could have been fixed by this one (minus the broken/debug code I accidentally com

[Dovecot] dsync crash

2010-07-11 Thread Matthias Rieber
Hi, while syncing dsync crashed: dsync-local(matthias): Panic: dsync brain state=10 dsync-local(matthias): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0 [0xf7eed541] -> /usr/local/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x4e) [0xf7eed66e] -> /usr/local/lib/dovecot/li

Re: [Dovecot] dsync duplicates messages/crashed if a 'large' number of messages has been deleted

2010-07-10 Thread Timo Sirainen
On 10.7.2010, at 17.05, Matthias Rieber wrote: > dsync-local(mailverwalter): Panic: file dsync-worker-local.c: line 1515 > (dsync_worker_try_finish): assertion failed: (!worker->finished) Fixed this and some other bugs in hg.

Re: [Dovecot] dsync duplicates messages/crashed if a 'large' number of messages has been deleted

2010-07-10 Thread Matthias Rieber
Hi, On 10.07.2010 16:58, Timo Sirainen wrote: On 10.7.2010, at 14.46, Matthias Rieber wrote: dsync-local(mailverwalter): Info: Posteingang: Ignored 178 modseq changes dsync-local(mailverwalter): Info: Posteingang: Couldn't keep all uids dsync-local(mailverwalter): Warning: Mailbox changes cau

Re: [Dovecot] dsync duplicates messages/crashed if a 'large' number of messages has been deleted

2010-07-10 Thread Timo Sirainen
On 10.7.2010, at 14.46, Matthias Rieber wrote: >>> dsync-local(mailverwalter): Info: Posteingang: Ignored 178 modseq changes >>> dsync-local(mailverwalter): Info: Posteingang: Couldn't keep all uids >>> dsync-local(mailverwalter): Warning: Mailbox changes caused a desync. You >>> may want to run

Re: [Dovecot] dsync duplicates messages/crashed if a 'large' number of messages has been deleted

2010-07-10 Thread Matthias Rieber
Hi, On 10.07.2010 15:39, Timo Sirainen wrote: On 10.7.2010, at 13.06, Matthias Rieber wrote: dsync -v -f -u login mirror ssh -o IdentityFile=/etc/dovecot/dsync.d/id_rsa r...@shrike dsync -u login This usually works, but if I delete a certain number of emails, I get this messages: dsync-lo

Re: [Dovecot] dsync duplicates messages/crashed if a 'large' number of messages has been deleted

2010-07-10 Thread Timo Sirainen
On 10.7.2010, at 13.06, Matthias Rieber wrote: > dsync -v -f -u login mirror ssh -o IdentityFile=/etc/dovecot/dsync.d/id_rsa > r...@shrike dsync -u login > > This usually works, but if I delete a certain number of emails, I get this > messages: > > dsync-local(mailverwalter): Info: Posteingang

[Dovecot] dsync duplicates messages/crashed if a 'large' number of messages has been deleted

2010-07-10 Thread Matthias Rieber
Hi, I try to mirror two dovecots with: dsync -v -f -u login mirror ssh -o IdentityFile=/etc/dovecot/dsync.d/id_rsa r...@shrike dsync -u login This usually works, but if I delete a certain number of emails, I get this messages: dsync-local(mailverwalter): Info: Posteingang: Ignored 178 mod

<    1   2   3   4   5   6   7   >