cyradm login loops

Robert Spellman rspell at bates.edu
Fri Jul 1 13:48:17 EDT 2011


It appears that the front end does know that it has the mailbox:

> [cyrus at postoffice09 ~]$ cyr_dbtool `pwd`/mailboxes.db skiplist show 
> user.frodo
> user.frodo    1 postoffice09.bates.edu!default frodo    lrswipkxtecda 


The backend knows nothing about the user frodo:

> [cyrus at mailstore07 ~]$ cyr_dbtool /var/lib/imap/mailboxes.db skiplist 
> show user.frodo
> [cyrus at mailstore07 ~]$

Murder does know:

> [cyrus at murder ~]$ cyr_dbtool /var/lib/imap/mailboxes.db skiplist show 
> user.frodo
> user.frodo    1 postoffice09.bates.edu!default frodo    lrswipkxtecda 


Deleting the mailbox using cyr_dbtool works, which does resolve the problem.

Rob

On 7/1/11 9:49 AM, Dan White wrote:
>
> Could it be due to a referral loop, where the frontend believes the 
> mailbox
> exists on the backend, but the backend doesn't know about it?
>
> What does the mailbox look like in the output of cyr_dbtool on the 
> frontend
> and the backend?, and does it 'fix' the problem if you delete it manually
> on the frontend with cyr_dbtool?
>
> Here's a usage example:
>
> cyrus at mail:/var/spool/imap$ file /var/lib/imap/mailboxes.db 
> /var/lib/imap/mailboxes.db: Cyrus skiplist DB
>
> cyrus at mail:/var/spool/imap$ cyr_dbtool /var/lib/imap/mailboxes.db 
> skiplist show user.test1234
> user.test1234   (uniqueid 6ebe0fe04dad935f) 0 default test1234 
> lrswipkxtecda   user.test1234.trash     (uniqueid 638c3a464dad9368) 0 
> default test1234 lrswipkxtecda
> cyrus at mail:/var/spool/imap$ cyr_dbtool /var/lib/imap/mailboxes.db 
> skiplist get 'user.test1234.trash'
> (uniqueid 638c3a464dad9368) 0 default test1234  lrswipkxtecda   
> cyrus at mail:/var/spool/imap$ cyr_dbtool /var/lib/imap/mailboxes.db 
> skiplist delete 'user.test1234.trash'
> cyrus at mail:/var/spool/imap$ cyr_dbtool /var/lib/imap/mailboxes.db 
> skiplist get 'user.test1234.trash'
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rspell.vcf
Type: text/x-vcard
Size: 412 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20110701/15b44bec/attachment.vcf 


More information about the Info-cyrus mailing list