Mailbox does not exist question

Patrick Boutilier boutilpj at ednet.ns.ca
Fri Jan 25 08:25:55 EST 2013


On 01/25/2013 07:17 AM, Charles Bradshaw wrote:
> Andrew
>
> Just a thought, should the mailbox name be 'user.test at mydomain' instead of
> 'user.test'?
>
> Here is a dump of /var/lib/imap/mailboxes.db
> # hexdump -c /var/lib/imap/mailboxes.db
> 0000000 241 002 213  \r   s   k   i   p   l   i   s   t       f   i   l
> 0000010   e  \0  \0  \0  \0  \0  \0 001  \0  \0  \0 002  \0  \0  \0 024
> 0000020  \0  \0  \0 001  \0  \0  \0 001  \0  \0  \0 320   Q 001   4 312
> 0000030  \0  \0 001 001  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 220
> 0000040  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
> *
> 0000080  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 377 377 377 377
> 0000090  \0  \0  \0 001  \0  \0  \0  \t   u   s   e   r   .   t   e   s
> 00000a0   t  \0  \0  \0  \0  \0  \0 035   0       d   e   f   a   u   l
> 00000b0   t       t   e   s   t  \t   l   r   s   w   i   p   k   x   t
> 00000c0   e   c   d   a  \t  \0  \0  \0  \0  \0  \0  \0 377 377 377 377
> 00000d0
>
> I see a "\tuser.test" is the tab correct?
>
> Also curiously cryadm cannot delete user.test giving "Permission denied":
>
> # cyradm -u cyrus localhost
> Password:
> localhost> lm
> user.brad (\HasNoChildren)
> localhost> dm user.brad
> deletemailbox: Permission denied
> localhost> quit
>
> Something fishy here.



You have to give the cyrus user d rights to delete a mailbox. I use 
something like this from cyrusadm:

sam user.test cyrus lrswipdca



<snip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20130125/38f4e16f/attachment.vcf 


More information about the Info-cyrus mailing list