[Dovecot] Dsync fatal error.
#dsync -D -vv -u stak@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/vdomains/%d/var/spool/mail/%n:INDEX=/tmp/imap-index/%d/%n
*What that error means ?
Before when i used convert before, it worked as expected.
I want to convert my mboxs to maildir.
Prefered withoud down time.
To do without down time i will do like this.
First i convert like i am trying it above, and after i do this, i run once again to see if got any new mail after this, i change in my mysql setting of mail location to /CX4/vdomains/%d/%u/mail/
My mysql settins override the conf file.
But firts i have to make the first command work, anyone has any ideias ?
[]'sf.rique
Ok, now i am getting this:
# dsync -D -vv -u stak@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(stak@example.com): Error: read() from worker server failed: EOF dsync-local(stak@example.com): Info: CERT-UFF: only in source dsync-local(stak@example.com): Info: EDUFF: only in source dsync-local(stak@example.com): Info: Enviados: only in source dsync-local(stak@example.com): Info: Lixeira: only in source dsync-local(stak@example.com): Info: MailUFF: only in source dsync-local(stak@example.com): Info: Rascunhos: only in source dsync-local(stak@example.com): Info: Spam: only in source dsync-local(stak@example.com): Info: VoIP: only in source dsync-local(stak@example.com): Info: wwwuff: only in source dsync-local(stak@example.com): Error: Unexpected reply from server:
I especified th separator but now it does not see the folder.
and it is there.
# ls -la /CX4/vdomains/example.com/stak/mail/ total 0 drwx------ 2 deliver mail 3896 Aug 3 08:04 . drwxr-xr-x 3 deliver mail 3896 Aug 3 08:04 ..
What could it be now ? Should i do what i have done ? especified the separator ?
[]'sf.rique
On Tue, Aug 3, 2010 at 11:14 AM, Henrique Fernandes sf.rique@gmail.comwrote:
#dsync -D -vv -u stak@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/vdomains/%d/var/spool/mail/%n:INDEX=/tmp/imap-index/%d/%n
*What that error means ?
Before when i used convert before, it worked as expected.
I want to convert my mboxs to maildir.
Prefered withoud down time.
To do without down time i will do like this.
First i convert like i am trying it above, and after i do this, i run once again to see if got any new mail after this, i change in my mysql setting of mail location to /CX4/vdomains/%d/%u/mail/
My mysql settins override the conf file.
But firts i have to make the first command work, anyone has any ideias ?
[]'sf.rique
On Tue, 2010-08-03 at 11:39 -0300, Henrique Fernandes wrote:
Ok, now i am getting this:
# dsync -D -vv -u stak@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
Any -o parameters must be before "mirror".
You can't create a namespace with a command line parameter. Just add to your dovecot.conf:
namespace { separator = / inbox = yes }
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, even if did, what would the inbox folder name be ? or it would just create the folders new, cur and tmp on the directory i specified, bytheway, the last one is the way i think will be best!
[]'sf.rique
On Tue, Aug 3, 2010 at 11:51 AM, Timo Sirainen tss@iki.fi wrote:
On Tue, 2010-08-03 at 11:39 -0300, Henrique Fernandes wrote:
Ok, now i am getting this:
# dsync -D -vv -u stak@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
Any -o parameters must be before "mirror".
You can't create a namespace with a command line parameter. Just add to your dovecot.conf:
namespace { separator = / inbox = yes }
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.rpmhttp://dl.atrpms.net/all/dovecot-2.0-0.18_114_rc3.el5.x86_64.rpm
don't know if it has already your patch! I am sorry could be my problem the inbox issue!
[]'sf.rique
On Tue, Aug 3, 2010 at 12:03 PM, Henrique Fernandes sf.rique@gmail.comwrote:
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, even if did, what would the inbox folder name be ? or it would just create the folders new, cur and tmp on the directory i specified, bytheway, the last one is the way i think will be best!
[]'sf.rique
On Tue, Aug 3, 2010 at 11:51 AM, Timo Sirainen tss@iki.fi wrote:
On Tue, 2010-08-03 at 11:39 -0300, Henrique Fernandes wrote:
Ok, now i am getting this:
# dsync -D -vv -u stak@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
Any -o parameters must be before "mirror".
You can't create a namespace with a command line parameter. Just add to your dovecot.conf:
namespace { separator = / inbox = yes }
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 sf.rique@gmail.comwrote:
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.rpmhttp://dl.atrpms.net/all/dovecot-2.0-0.18_114_rc3.el5.x86_64.rpm
don't know if it has already your patch! I am sorry could be my problem the inbox issue!
[]'sf.rique
On Tue, Aug 3, 2010 at 12:03 PM, Henrique Fernandes sf.rique@gmail.comwrote:
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, even if did, what would the inbox folder name be ? or it would just create the folders new, cur and tmp on the directory i specified, bytheway, the last one is the way i think will be best!
[]'sf.rique
On Tue, Aug 3, 2010 at 11:51 AM, Timo Sirainen tss@iki.fi wrote:
On Tue, 2010-08-03 at 11:39 -0300, Henrique Fernandes wrote:
Ok, now i am getting this:
# dsync -D -vv -u stak@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
Any -o parameters must be before "mirror".
You can't create a namespace with a command line parameter. Just add to your dovecot.conf:
namespace { separator = / inbox = yes }
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 stak@example.com backup maildir:/CX4/vdomains/ nti.uff.br/stak/mail/
To where would the inbox go ?
[]'sf.rique
On Tue, Aug 3, 2010 at 12:52 PM, Timo Sirainen tss@iki.fi wrote:
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?
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=/tmp/imap-index/%d/%n
This specifies INBOX location when reading from source mbox file.
When i dsync with:
# dsync -D -vv -u stak@example.com backup maildir:/CX4/vdomains/nti.uff.br/stak/mail/
To where would the inbox go ?
The same place where it would go even if you didn't specify INBOX path for mbox, i.e. the default INBOX location for Maildir: /CX4/vdomains/nti.uff.br/stak/mail/.
If you want it elsewhere, you can again add :INBOX=<elsewhere> at the end of the maildir:...
Thanks!
I want in the same place i as did in the comand dsync -D -vv -u stak@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 questions.
[]'sf.rique
On Tue, Aug 3, 2010 at 1:18 PM, Timo Sirainen tss@iki.fi wrote:
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=/tmp/imap-index/%d/%n
This specifies INBOX location when reading from source mbox file.
When i dsync with:
# dsync -D -vv -u stak@example.com backup maildir:/CX4/vdomains/nti.uff.br/stak/mail/
To where would the inbox go ?
The same place where it would go even if you didn't specify INBOX path for mbox, i.e. the default INBOX location for Maildir: /CX4/vdomains/nti.uff.br/stak/mail/.
If you want it elsewhere, you can again add :INBOX=<elsewhere> at the end of the maildir:...
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 stak@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 questions.
You could always also try yourself and see what happens. This isn't even dsync-specific question, dsync accesses mails exactly the same way as how the rest of Dovecot (imap, lda, etc).
Anyway, there's no .INBOX/ by default in Maildir. You could use that by specifying :INBOX=path manually.
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 tss@iki.fi 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 stak@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 questions.
You could always also try yourself and see what happens. This isn't even dsync-specific question, dsync accesses mails exactly the same way as how the rest of Dovecot (imap, lda, etc).
Anyway, there's no .INBOX/ by default in Maildir. You could use that by specifying :INBOX=path manually.
participants (2)
-
Henrique Fernandes
-
Timo Sirainen