Re: Can't delete a mailbox

2003-02-11 Thread Connie Starr Fensky
Cyrus does not automatically have delete permission, you must add it with a
sam command before you may delete a mailbox.
c*
- Original Message -
From: "Gregory Chagnon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 9:39 AM
Subject: Can't delete a mailbox


> Hi-
> I'm having a problem deleting a Cyrus mailbox.  Here is what happens:
>
> [root@Lunar]:/home/gchagnon> su mail.admin
> bash-2.05b$ cyradm localhost
> IMAP Password:
> Lunar> cm testmailbox
> Lunar> dm testmailbox
> deletemailbox: Permission denied
> Lunar>
>
>
> mail.admin exists in my ldap database.  Thanks for any help!
> -Greg
>
> _
> The new MSN 8: advanced junk mail protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
>




Re: Can't delete a mailbox

2003-02-11 Thread Rob Siemborski
On Tue, 11 Feb 2003, Gregory Chagnon wrote:

> I'm having a problem deleting a Cyrus mailbox.  Here is what happens:
>
> [root@Lunar]:/home/gchagnon> su mail.admin
> bash-2.05b$ cyradm localhost
> IMAP Password:
> Lunar> cm testmailbox
> Lunar> dm testmailbox
> deletemailbox: Permission denied
> Lunar>

does mail.admin have the right to delete the mailbox?  You need explicitly
give it that right (sam testmailbox mail.admin all), before you can delete
it (even if its an admin).

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper




Re: Can't delete a mailbox

2003-02-11 Thread Ken Murchison


Gregory Chagnon wrote:
> 
> Hi-
> I'm having a problem deleting a Cyrus mailbox.  Here is what happens:
> 
> [root@Lunar]:/home/gchagnon> su mail.admin
> bash-2.05b$ cyradm localhost
> IMAP Password:
> Lunar> cm testmailbox
> Lunar> dm testmailbox
> deletemailbox: Permission denied
> Lunar>
> 
> mail.admin exists in my ldap database.  Thanks for any help!

The admin isn't implicitly given create/delete rights for the mailbox
when you create it.  Do this before trying the delete:

sam testmailbox mail.admin c

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Can't delete a mailbox

2003-02-11 Thread Gregory Chagnon
Hi-
I'm having a problem deleting a Cyrus mailbox.  Here is what happens:

[root@Lunar]:/home/gchagnon> su mail.admin
bash-2.05b$ cyradm localhost
IMAP Password:
Lunar> cm testmailbox
Lunar> dm testmailbox
deletemailbox: Permission denied
Lunar>


mail.admin exists in my ldap database.  Thanks for any help!
-Greg

_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail