Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-03-15 Thread Gedalya
On 01/28/2012 12:45 PM, Timo Sirainen wrote: On 27.1.2012, at 2.00, Gedalya wrote: Starting program: /usr/bin/doveadm -o imapc_user=j...@example.com -o imapc_password= backup -u j...@example.com -R imapc: Program received signal SIGSEGV, Segmentation fault. mailbox_log_iter_open_next (ite

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-02-01 Thread Gedalya
On 02/01/2012 03:46 PM, Timo Sirainen wrote: On 30.1.2012, at 5.29, Gedalya wrote: The old system uses the message filename for UIDL, but we need to migrate via IMAP in order to preserve IMAP info and UIDs (which have nothing to do with the POP3 UIDL in this case). So I've just finished writi

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-02-01 Thread Timo Sirainen
On 30.1.2012, at 5.29, Gedalya wrote: > The old system uses the message filename for UIDL, but we need to migrate via > IMAP in order to preserve IMAP info and UIDs (which have nothing to do with > the POP3 UIDL in this case). So I've just finished writing a script to insert > X-UIDL headers, a

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-29 Thread Gedalya
On 01/26/2012 07:27 AM, Timo Sirainen wrote: On 26.1.2012, at 6.31, Gedalya wrote: I'm facing the need to migrate from a proprietary IMAP server to Dovecot. The migration must be as smooth and transparent as possible. The mailbox format I would want to use is Maildir++. The storage format us

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-28 Thread Timo Sirainen
On 27.1.2012, at 2.00, Gedalya wrote: > Starting program: /usr/bin/doveadm -o imapc_user=j...@example.com -o > imapc_password= backup -u j...@example.com -R imapc: > > Program received signal SIGSEGV, Segmentation fault. > mailbox_log_iter_open_next (iter=0x80cbd90) at mailbox-log.c:213 > 21

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-27 Thread Gedalya
On 01/26/2012 08:00 PM, Timo Sirainen wrote: On 27.1.2012, at 2.57, Gedalya wrote: # doveadm -o imapc_user=je...@example.com -o imapc_password=* import -u je...@example.com imapc: "" all doveadm(je...@example.com): Error: Copying box=INBOX uid=1 failed: Message GUID not available in this

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-27 Thread Benny Pedersen
On Wed, 25 Jan 2012 23:31:20 -0500, Gedalya wrote: I'm facing the need to migrate from a proprietary IMAP server to Dovecot. The migration must be as smooth and transparent as possible. setup dovecot and make it listen on 127.0.0.2 only, modify your current to only listen on 127.0.0.1 this so

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 08:00 PM, Timo Sirainen wrote: On 27.1.2012, at 2.57, Gedalya wrote: # doveadm -o imapc_user=je...@example.com -o imapc_password=* import -u je...@example.com imapc: "" all doveadm(je...@example.com): Error: Copying box=INBOX uid=1 failed: Message GUID not available in this

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 08:00 PM, Timo Sirainen wrote: On 27.1.2012, at 2.57, Gedalya wrote: # doveadm -o imapc_user=je...@example.com -o imapc_password=* import -u je...@example.com imapc: "" all doveadm(je...@example.com): Error: Copying box=INBOX uid=1 failed: Message GUID not available in this

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 27.1.2012, at 2.57, Gedalya wrote: >>> # doveadm -o imapc_user=je...@example.com -o imapc_password=* import -u >>> je...@example.com imapc: "" all >>> doveadm(je...@example.com): Error: Copying box=INBOX uid=1 failed: Message >>> GUID not available in this server (guid) >> Fixed: http://h

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 07:45 PM, Timo Sirainen wrote: On 27.1.2012, at 2.33, Gedalya wrote: # doveadm -o imapc_user=j...@example.com -o imapc_password=* backup -u j...@example.com -R imapc:/tmp/imapc dsync(j...@example.com): Error: Failed to sync mailbox Drafts: STATUS cannot access mailbox Drafts

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 27.1.2012, at 2.33, Gedalya wrote: >> # doveadm -o imapc_user=j...@example.com -o imapc_password=* backup -u >> j...@example.com -R imapc:/tmp/imapc >> dsync(j...@example.com): Error: Failed to sync mailbox Drafts: STATUS cannot >> access mailbox Drafts Apparently your server doesn't lik

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 07:17 PM, Gedalya wrote: On 01/26/2012 07:06 PM, Timo Sirainen wrote: On 27.1.2012, at 2.00, Gedalya wrote: # doveadm -o imapc_user=geda...@thisdomain.com -o imapc_password=* backup -u geda...@thisdomain.com -R imapc: Segmentation fault gdb backtrace would be helpful. You sh

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 07:17 PM, Gedalya wrote: On 01/26/2012 07:06 PM, Timo Sirainen wrote: On 27.1.2012, at 2.00, Gedalya wrote: # doveadm -o imapc_user=geda...@thisdomain.com -o imapc_password=* backup -u geda...@thisdomain.com -R imapc: Segmentation fault gdb backtrace would be helpful. You sh

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 07:06 PM, Timo Sirainen wrote: On 27.1.2012, at 2.00, Gedalya wrote: # doveadm -o imapc_user=geda...@thisdomain.com -o imapc_password=* backup -u geda...@thisdomain.com -R imapc: Segmentation fault gdb backtrace would be helpful. You should be able to get that by running (as

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 27.1.2012, at 2.00, Gedalya wrote: >>> # doveadm -o imapc_user=geda...@thisdomain.com -o imapc_password=* >>> backup -u geda...@thisdomain.com -R imapc: >>> Segmentation fault >> gdb backtrace would be helpful. You should be able to get that by running >> (as root): >> > 213mailbox-l

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 06:46 PM, Timo Sirainen wrote: On 27.1.2012, at 1.42, Gedalya wrote: doveadm -o imapc_user=USERNAME -o imapc_password=PASSWORD backup -R imapc: Still working on it on my side, but for now: # doveadm -o imapc_user=geda...@thisdomain.com -o imapc_password=* backup -u geda...

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 27.1.2012, at 1.42, Gedalya wrote: >> doveadm -o imapc_user=USERNAME -o imapc_password=PASSWORD backup -R imapc: >> > Still working on it on my side, but for now: > > # doveadm -o imapc_user=geda...@thisdomain.com -o imapc_password=* backup > -u geda...@thisdomain.com -R imapc: > Segment

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 07:27 AM, Timo Sirainen wrote: On 26.1.2012, at 6.31, Gedalya wrote: I'm facing the need to migrate from a proprietary IMAP server to Dovecot. The migration must be as smooth and transparent as possible. The mailbox format I would want to use is Maildir++. The storage format us

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Ed W
Hi Yeap, taht's what I'm doing to do, except that I would have to proxy more than just IMAP and POP - it's a one-does-it-all kind of machine accepting mail delivered from the outside, relaying outgoing mail, does webmail, does all this things very poorly... I have the choice of forcing all us

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 11:02 AM, Ed W wrote: Hi Sounds very cool. I already have dovecot set up as a proxy, working, and it should allow me to forcefully disconnect users and lock them out while they are being migrated and then once they are done they'll be served locally rather than proxied. My main

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Ed W
Hi Sounds very cool. I already have dovecot set up as a proxy, working, and it should allow me to forcefully disconnect users and lock them out while they are being migrated and then once they are done they'll be served locally rather than proxied. My main problem is that most connections are

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Charles Marcus
On 2012-01-26 8:11 AM, Gedalya wrote: As I understand, there is no way an IMAP-to-IAMP process can preserve UIDs, since new UIDs are assigned for every message by the target server. Also, imapsync found 0 messages in all mailboxes on my evil to-be-eliminated server, something I didn't bother tro

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 07:38 AM, Andrew Richards wrote: On Thursday 26 January 2012 04:31:20 Gedalya wrote: I'm facing the need to migrate from a proprietary IMAP server to Dovecot. The migration must be as smooth and transparent as possible. Ignoring the migration of individual mailboxes addressed in o

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Gedalya
On 01/26/2012 07:06 AM, Charles Marcus wrote: On 2012-01-25 11:31 PM, Gedalya wrote: This leaves me with the option of reading the mailboxes using IMAP. There are tools like offlineimap or mbsync, Not familiar with those, but I think imapsync will do what you want? http://imapsync.lamiral.in

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Andrew Richards
On Thursday 26 January 2012 04:31:20 Gedalya wrote: > I'm facing the need to migrate from a proprietary IMAP server to > Dovecot. The migration must be as smooth and transparent as possible. Ignoring the migration of individual mailboxes addressed in other replies, I trust you've met Perdition -

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Timo Sirainen
On 26.1.2012, at 6.31, Gedalya wrote: > I'm facing the need to migrate from a proprietary IMAP server to Dovecot. The > migration must be as smooth and transparent as possible. > > The mailbox format I would want to use is Maildir++. > > The storage format used by the current server is unknown,

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-26 Thread Charles Marcus
On 2012-01-25 11:31 PM, Gedalya wrote: This leaves me with the option of reading the mailboxes using IMAP. There are tools like offlineimap or mbsync, Not familiar with those, but I think imapsync will do what you want? http://imapsync.lamiral.info/ I do see that it references those two thou

[Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-25 Thread Gedalya
Hello all, I'm facing the need to migrate from a proprietary IMAP server to Dovecot. The migration must be as smooth and transparent as possible. The mailbox format I would want to use is Maildir++. The storage format used by the current server is unknown, and I don't look forward to trying