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] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Mark Zealey
Hi Timo thanks for the patch; I have now analyzed network dumps & discovered that the cause is actually our frontend mail servers not dovecot - we were delivering to the wrong lmtp port which we then use in the mysql query hence getting empty records. Sorry about this! Mark

Re: [Dovecot] v2.1.rc5 released

2012-01-26 Thread Stan Hoeppner
On 1/25/2012 6:01 PM, The Doctor wrote: > BSD/OS 4.3.1 A defunct/dead operating system, last released in 2003, support withdrawn in 2004. BSDI went belly up. Wind River acquired and then killed BSD/OS. You're using a dead, 9 year old OS, that hasn't seen official updates for 8 years. Do you th

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] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Timo Sirainen
On 26.1.2012, at 18.06, Ed W wrote: > Could it be a *timeout* rather than lack of worker processes? The message in log was "Unknown user". The only reason this happens is if MySQL library's query functions returned success without any rows. No timeouts, crashes, or anything else can give that e

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] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Ed W
On 26/01/2012 14:37, Mark Zealey wrote: I've tried reproducing by having long running auth queries in the sql and KILLing them on the server, restarting the mysql service, and setting max auth workers to 1 and running 2 sessions at the same time (with long-running auth queries), but to no effe

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] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Mark Zealey
I've tried reproducing by having long running auth queries in the sql and KILLing them on the server, restarting the mysql service, and setting max auth workers to 1 and running 2 sessions at the same time (with long-running auth queries), but to no effect. There must be something else going on

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] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Timo Sirainen
On 26.1.2012, at 12.14, Mark Zealey wrote: > I'm using dovecot 2.0.16 with a mysql user database. From time to time when > we have a big influx of messages (perhaps more than 30 concurrent rcpt to:<> > sessions at the same time so no auth-workers free?) or when we have a > transient issue conne

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] Persistence of UIDs

2012-01-26 Thread Timo Sirainen
On 26.1.2012, at 14.03, Charles Marcus wrote: > On 2012-01-25 8:40 PM, Jean-Daniel Beaubien wrote: >> I'd just like to confirm that there is no risk to the actual mail data is >> ever something is badly configured when I start dovecot 2.1. I am managing >> this old server on my spare time for a

Re: [Dovecot] Imap Quota Exceeded - But Still Receiving Emails?

2012-01-26 Thread Palatine Web Support
On 2012-01-25 17:01, Daniel L. Miller wrote: On 1/25/2012 2:01 AM, Palatine Web Support wrote: On 2012-01-25 05:38, Daniel L. Miller wrote: On 1/24/2012 8:35 AM, Palatine Web Support wrote: Here is my dovecot config: plugin { quota = maildir:User Quota quota_rule2 = Trash:storage=+100M }

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

Re: [Dovecot] Persistence of UIDs

2012-01-26 Thread Charles Marcus
On 2012-01-25 8:40 PM, Jean-Daniel Beaubien wrote: I'd just like to confirm that there is no risk to the actual mail data is ever something is badly configured when I start dovecot 2.1. I am managing this old server on my spare time for a friend, so I don't want to loose 2million+ emails and ha

[Dovecot] auth-worker temporary failures causing lmtp 500 rejection

2012-01-26 Thread Mark Zealey
Hi there, I'm using dovecot 2.0.16 with a mysql user database. From time to time when we have a big influx of messages (perhaps more than 30 concurrent rcpt to:<> sessions at the same time so no auth-workers free?) or when we have a transient issue connecting to the database server, we see the