On 01/25/2013 07:17 AM, Charles Bradshaw wrote:
Andrew

Just a thought, should the mailbox name be 'user.test@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>

<<attachment: boutilpj.vcf>>

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Reply via email to