Re: Replication error

2007-12-05 Thread Gabor Gombas
On Wed, Dec 05, 2007 at 11:34:10AM +, David Carter wrote:

> RFC 3501, section 6.3.5:
>
>Renaming INBOX is permitted, and has special behavior.  It moves
>all messages in INBOX to a new mailbox with the given name,
>leaving INBOX empty.  If the server implementation supports
>inferior hierarchical names of INBOX, these are unaffected by a
>rename of INBOX.

Ok, thanks.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences,
 Laboratory of Parallel and Distributed Systems
 Address   : H-1132 Budapest Victor Hugo u. 18-22. Hungary
 Phone/Fax : +36 1 329-78-64 (secretary)
 W3: http://www.lpds.sztaki.hu
 -

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Replication error

2007-12-05 Thread David Carter
On Wed, 5 Dec 2007, Gabor Gombas wrote:

> Hmm, can a regular user rename his own INBOX? I'm pretty sure no admin
> actions were performed.

RFC 3501, section 6.3.5:

Renaming INBOX is permitted, and has special behavior.  It moves
all messages in INBOX to a new mailbox with the given name,
leaving INBOX empty.  If the server implementation supports
inferior hierarchical names of INBOX, these are unaffected by a
rename of INBOX.

-- 
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Replication error

2007-12-05 Thread Gabor Gombas
On Tue, Dec 04, 2007 at 10:06:23PM -0500, Wesley Craig wrote:

> The internal Cyrus "mailbox ID" ought to be unique, but it's not.  On the 
> sub folder, remove the cyrus.header file and reconstruct.  This will assign 
> a new, unique mailbox ID.

Thanks, that did the trick.

> Any ideal how they ended up with the same IDs?

Unfortunately no idea.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences,
 Laboratory of Parallel and Distributed Systems
 Address   : H-1132 Budapest Victor Hugo u. 18-22. Hungary
 Phone/Fax : +36 1 329-78-64 (secretary)
 W3: http://www.lpds.sztaki.hu
 -

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Replication error

2007-12-05 Thread Gabor Gombas
On Wed, Dec 05, 2007 at 08:48:00AM +, David Carter wrote:
> On Tue, 4 Dec 2007, Wesley Craig wrote:

> Changes to the Cyrus IMAP Server since 2.3.9
> [...]
>
> * Fixed the special case of RENAMEing an Inbox, so that it doesn't
>   keep the same mailbox uniqueid, thus allowing it to replicate
>   properly (seen state is still preserved).

Hmm, can a regular user rename his own INBOX? I'm pretty sure no admin
actions were performed.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences,
 Laboratory of Parallel and Distributed Systems
 Address   : H-1132 Budapest Victor Hugo u. 18-22. Hungary
 Phone/Fax : +36 1 329-78-64 (secretary)
 W3: http://www.lpds.sztaki.hu
 -

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Replication error

2007-12-05 Thread David Carter
On Tue, 4 Dec 2007, Wesley Craig wrote:

> The internal Cyrus "mailbox ID" ought to be unique, but it's not.  On 
> the sub folder, remove the cyrus.header file and reconstruct.  This will 
> assign a new, unique mailbox ID.  Any ideal how they ended up with the 
> same IDs?

Given that a user inbox is involved, my guess would be:

Changes to the Cyrus IMAP Server since 2.3.9
 [...]

 * Fixed the special case of RENAMEing an Inbox, so that it doesn't
   keep the same mailbox uniqueid, thus allowing it to replicate
   properly (seen state is still preserved).


-- 
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Replication error

2007-12-04 Thread Wesley Craig
The internal Cyrus "mailbox ID" ought to be unique, but it's not.  On  
the sub folder, remove the cyrus.header file and reconstruct.  This  
will assign a new, unique mailbox ID.  Any ideal how they ended up  
with the same IDs?

:wes

On 04 Dec 2007, at 20:09, Gabor Gombas wrote:
> I'm having problems with replication. sync_client bails out, and  
> the log
> contains:
>
> Dec  5 02:00:50 mail cyrus/sync_client[6121]: RENAME received NO  
> response: Rename failed domain!user.foo -> domain!user.foo.bar:  
> Operation is not supported on mailbox
>
> Why does sync_client want to rename the user's INBOX to it's own
> subfolder? And more importantly, how to fix it? It only happens for a
> specific user, other users seem to be unaffected. The problem started
> under 2.3.8, now I've upgraded to 2.3.10 (both master & slave) but  
> that
> did not help.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html