Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-31 Thread Kim Bisgaard
On a side note: Postfix bounces the messages deliver cannot deliver - why does it not keep them in queues until deliver works again? Aug 31 21:10:36 jukebox postfix/local[5087]: 910846B9D9: to=, relay=local, delay=0.07, delays=0.02/0/0/0.05, dsn=5.3.0, status=bounced (Command died with statu

Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-31 Thread Kim Bisgaard
On 31-08-2010 21:07, Timo Sirainen wrote: On Tue, 2010-08-31 at 20:49 +0200, Kim Bisgaard wrote: What error did lda give? You probably should add: Command output: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-mail.conf line 54: Unknown setting: separator ) That looks lik

Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-31 Thread Timo Sirainen
On Tue, 2010-08-31 at 20:49 +0200, Kim Bisgaard wrote: > > What error did lda give? You probably should add: > Command output: doveconf: Fatal: Error in configuration file > /etc/dovecot/conf.d/10-mail.conf line 54: Unknown setting: separator ) That looks like it wasn't inside namespace {} or som

Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-31 Thread Kim Bisgaard
On 31-08-2010 20:38, Timo Sirainen wrote: On Sat, 2010-08-28 at 17:17 +0200, Kim Bisgaard wrote: Using this command ($1 is substituted for the user): dsync -u $1 -o "mail_location=maildir:/data/mail/$1/mdir" mirror "mdbox:/data/mail/$1/mdbox" I guess this should work. After having learned t

Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-31 Thread Timo Sirainen
On Sat, 2010-08-28 at 17:17 +0200, Kim Bisgaard wrote: > Using this command ($1 is substituted for the user): > dsync -u $1 -o "mail_location=maildir:/data/mail/$1/mdir" mirror > "mdbox:/data/mail/$1/mdbox" I guess this should work. > After having learned that I need to create the destination d

Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-28 Thread Charles Marcus
On 8/28/2010 11:17 AM, Kim Bisgaard wrote: > After having learned that I need to create the destination directory > first, I got this error: > dsync(root): Fatal: Mail locations must use the same virtual mailbox > hierarchy separator (specify separator for the default namespace) > > Which I am afr

Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-28 Thread Kim Bisgaard
On 28-08-2010 17:21, Charles Marcus wrote: On 8/28/2010 11:17 AM, Kim Bisgaard wrote: After having learned that I need to create the destination directory first, I got this error: dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for th

Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-28 Thread Charles Marcus
On 8/28/2010 11:17 AM, Kim Bisgaard wrote: > After having learned that I need to create the destination directory > first, I got this error: > dsync(root): Fatal: Mail locations must use the same virtual mailbox > hierarchy separator (specify separator for the default namespace) doveconf -n output

Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-28 Thread Kim Bisgaard
On 28-08-2010 16:30, Charles Marcus wrote: dsync mirror maildir:~/Maildir I am just trying to do that now (just testing so far). Using this command ($1 is substituted for the user): dsync -u $1 -o "mail_location=maildir:/data/mail/$1/mdir" mirror "mdbox:/data/mail/$1/mdbox" After hav

Re: [Dovecot] Problems Converting Maildir to mdbox

2010-08-28 Thread Charles Marcus
On 8/28/2010 5:35 AM, Christian Felsing wrote: > I would like to convert all users mail from maildir to mdbox. My Dovecot > version is 2.0.1, converted from 1.2.13 but config was rewritten from > scratch. > > http://wiki2.dovecot.org/Migration/MailFormat says following: > maildir -> mdbox migratio

[Dovecot] Problems Converting Maildir to mdbox

2010-08-28 Thread Christian Felsing
Hello, I would like to convert all users mail from maildir to mdbox. My Dovecot version is 2.0.1, converted from 1.2.13 but config was rewritten from scratch. http://wiki2.dovecot.org/Migration/MailFormat says following: maildir -> mdbox migration. Set mail_location=mdbox:~/mdbox and run doveadm