deleting mailboxes?

2001-02-26 Thread Grant Beattie

2.0.11/Solaris 7

root@wombat# grep admins /etc/imapd.conf
admins: cyrus

wombat> lam user.grant
anyone p
grant lrswipcda
cyrus d
wombat> dm user.grant
deletemailbox: Permission denied

What is causing this? How can I delete the mailbox?

g.



Deleting Mailboxes

2005-01-17 Thread Christopher Pietrzykowski
First off... I am aware of the "c" right.

I am connecting as cyrus (which has been added to the "admins"
directive and the server has been restarted.)

The mailbox in question was created incorrectly at the top level
"foobar" and not "user.foobar".

Here are the rights of "foobar":
cyrus lrswipcda

Here's the command I've attempted to delete the mailbox "foobar":
localhost> dm foobar

I tried to read as many "google results" as possible before posting here.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Deleting mailboxes

2005-12-30 Thread Filip Bartmann
I have set up Cyrus IMAP, but when I want detele mailbox I have an
error:
deletemailbox: Permission denied
I login as user cyrus with admin privilegies as I have in imapd.conf:
admins: cyrus
Filip Bartmann


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


deleting mailboxes

2006-04-19 Thread nikhil BS
hi
how do we delete mailboxes in cyrus. i keep getting 'permission denied'
message even after setting the deleteright option in the imapd.conf.
what am i supposed to do?

regards 


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

Re: deleting mailboxes?

2001-02-26 Thread Ken Murchison



Grant Beattie wrote:
> 
> 2.0.11/Solaris 7
> 
> root@wombat# grep admins /etc/imapd.conf
> admins: cyrus
> 
> wombat> lam user.grant
> anyone p
> grant lrswipcda
> cyrus d
> wombat> dm user.grant
> deletemailbox: Permission denied
> 
> What is causing this? How can I delete the mailbox?

IIRC, give the cyrus user at least the 'c' (create/delete folder) and
'a' (admin) rights.

Ken
-- 
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



Re: deleting mailboxes?

2001-02-26 Thread Scot W. Hetzel

From: "Grant Beattie" <[EMAIL PROTECTED]>
> 2.0.11/Solaris 7
>
> root@wombat# grep admins /etc/imapd.conf
> admins: cyrus
>
> wombat> lam user.grant
> anyone p
> grant lrswipcda
> cyrus d
> wombat> dm user.grant
> deletemailbox: Permission denied
>
> What is causing this? How can I delete the mailbox?
>
You need to give the admin user the (c)reate write on a mailbox, so that the
admin user can delete the mailbox.

Scot





Re: deleting mailboxes?

2001-02-26 Thread Cillian Sharkey

Grant Beattie <[EMAIL PROTECTED]> wrote:
> wombat> lam user.grant
> anyone p
> grant lrswipcda
> cyrus d
> wombat> dm user.grant
> deletemailbox: Permission denied
> 
> What is causing this? How can I delete the mailbox?

sam user.grant cyrus c
dm user.grant

'c' gives right to delete actual folder (and to create sub folders),
'd' gives right to delete messages in folder.

-- 
Cillian



RE: Deleting Mailboxes

2005-01-17 Thread Peter P. Benac

Set the acl on the mailbox in question for the cyrus user the same as the
owner of the mail box

Then delete it..


Listacl foorbar

Setacl foobar cyrus whateveracl 

Delete foobar...


Peter P. Benac, CCNA
Celtic Spirit Network Solutions
Providing Network and Systems Project Management and Installation and Web
Hosting.
Phone: 919-618-2557
Web: http://www.emacolet.com
Need quick reliable Systems or Network Management advice visit
http://www.nmsusers.org

To have principles...
 First have courage.. With principles comes integrity!!!




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christopher
Pietrzykowski
Sent: Monday, January 17, 2005 03:31
To: info-cyrus@lists.andrew.cmu.edu
Subject: Deleting Mailboxes


First off... I am aware of the "c" right.

I am connecting as cyrus (which has been added to the "admins" directive and
the server has been restarted.)

The mailbox in question was created incorrectly at the top level "foobar"
and not "user.foobar".

Here are the rights of "foobar":
cyrus lrswipcda

Here's the command I've attempted to delete the mailbox "foobar":
localhost> dm foobar

I tried to read as many "google results" as possible before posting here.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


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


Re: Deleting Mailboxes

2005-01-18 Thread Stefan Nitz
Dear listeners,

Am Montag, 17. Januar 2005 09:30 schrieb Christopher Pietrzykowski:
> First off... I am aware of the "c" right.
>
> I am connecting as cyrus (which has been added to the "admins"
> directive and the server has been restarted.)
>
> The mailbox in question was created incorrectly at the top level
> "foobar" and not "user.foobar".
>
> Here are the rights of "foobar":
> cyrus lrswipcda
>
> Here's the command I've attempted to delete the mailbox "foobar":
> localhost> dm foobar

first you've to get the right to delete. Do this as cyrus-administrator 
(admin) to get all rights:

sam foobar admin all
dm foobar

should work.


Luck Stefan
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Deleting mailboxes

2005-12-30 Thread Matthijs Mohlmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Filip Bartmann wrote:
> I have set up Cyrus IMAP, but when I want detele mailbox I have an
> error:
> deletemailbox: Permission denied
> I login as user cyrus with admin privilegies as I have in imapd.conf:
> admins: cyrus
> Filip Bartmann

Hi,

I had this error too:

login as cyrus user and do this on that user:
cyrusserver> sam user.piet cyrus c
cyrusserver> dm user.piet

That will work.

Regards,

Matthijs Mohlmann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDtQUk2n1ROIkXqbARAsZDAJ9dRd3qqAJzUCGsoeY1+brzW9vU4wCbB+2E
W6FEwo0hVLlow6aNqQ+wbhk=
=DL4M
-END PGP SIGNATURE-

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


Re: deleting mailboxes

2006-04-19 Thread Craig White
On Wed, 2006-04-19 at 15:41 +0530, nikhil BS wrote:
> hi
> how do we delete mailboxes in cyrus. i keep getting 'permission
> denied' message even after setting the deleteright option in the
> imapd.conf. what am i supposed to do?
> 

by default, cyrus admins don't have privileges to delete a mailbox so
you have to set it explicitly before you can delete...

For example...
sam user.craig cyrus lrswipcda
dm user.craig

Craig


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


Deleting mailboxes through cyradm

2001-08-30 Thread Benjamin Bacon

Hi everyne,

I am using the perl version of cyradm.  Another problem I have found is that
I can't delete a mailbox even after I set the rights of the admin to be able
to delete the mailbox.  I can create mailboxes no problem. i.e:

regprod8> sam user.dummy cyrus d
regprod8> dm user.dummy
deletemailbox: Permission denied

Thanks ahead of time!
Benjamin





Deleting mailboxes on master

2007-04-17 Thread Joseph Brennan


We cut over from a primary to a replica, and then back again, all within
one outage, because we got the primary going again pretty fast.

Now we have an interesting situation.  The replica told the master about
some obsolete mailboxes that no longer exist on the primary.  As a result
the mupdate from the primary did not rewrite the location of these
obsolete mailboxes.  They really do exist only on the replica.

The replica does not report to the master (if it did, it would fight with
the primary about where mailboxes are).  Therefore, the following do not
change the master: running cyradm on the replica and doing deletemailbox;
and deleting the mailbox with an imap client.

I have a list of them from running ctl_mboxlist -d on the master.  But I
can't figure how to remove them from the master's mailbox list.  Does
anyone have an idea?

Joseph Brennan
Lead Email Systems Engineer
Columbia University Information Technology




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: Deleting mailboxes through cyradm

2001-08-30 Thread Alain Turbide

Try setting the "c" flag as well and making sure you are logged in as the
cyrus user ie cyradm  -u cyrus

Alain

- Original Message -
From: "Benjamin Bacon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 2:02 PM
Subject: Deleting mailboxes through cyradm


> Hi everyne,
>
> I am using the perl version of cyradm.  Another problem I have found is
that
> I can't delete a mailbox even after I set the rights of the admin to be
able
> to delete the mailbox.  I can create mailboxes no problem. i.e:
>
> regprod8> sam user.dummy cyrus d
> regprod8> dm user.dummy
> deletemailbox: Permission denied
>
> Thanks ahead of time!
> Benjamin
>
>
>




Re: Deleting mailboxes through cyradm

2001-08-30 Thread Benjamin Bacon

Worked like a charm! Thanks all.  Is there somewhere with updated docs?

Thanks
Benjamin


- Original Message -
From: "Alain Turbide" <[EMAIL PROTECTED]>
To: "Benjamin Bacon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 2:23 PM
Subject: Re: Deleting mailboxes through cyradm


> Try setting the "c" flag as well and making sure you are logged in as the
> cyrus user ie cyradm  -u cyrus
>
> Alain
>
> - Original Message -
> From: "Benjamin Bacon" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 30, 2001 2:02 PM
> Subject: Deleting mailboxes through cyradm
>
>
> > Hi everyne,
> >
> > I am using the perl version of cyradm.  Another problem I have found is
> that
> > I can't delete a mailbox even after I set the rights of the admin to be
> able
> > to delete the mailbox.  I can create mailboxes no problem. i.e:
> >
> > regprod8> sam user.dummy cyrus d
> > regprod8> dm user.dummy
> > deletemailbox: Permission denied
> >
> > Thanks ahead of time!
> > Benjamin
> >
> >
> >




Fwd: Re: Deleting mailboxes through cyradm

2001-08-30 Thread Jeff Crowe

Hi All,

I have a similar problems that this fix did not solve.

In advertently, I created two users without the user.username.  Now they 
show up for everybody doing imap to the server.

I have tried removing them, but it gives me an I/O error:

mail> lam chris
anyone lrs
mail> sam chris cyrus d
setaclmailbox: cyrus: d: System I/O error
mail> dm chris
deletemailbox: Permission denied

any help would be appreciated.
Thanks
Jeff

>From: "Benjamin Bacon" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Re: Deleting mailboxes through cyradm
>Date: Thu, 30 Aug 2001 14:57:42 -0400
>X-Mailer: Microsoft Outlook Express 6.00.2479.0006
>Sender: [EMAIL PROTECTED]
>X-RCPT-TO: <[EMAIL PROTECTED]>
>
>Worked like a charm! Thanks all.  Is there somewhere with updated docs?
>
>Thanks
>Benjamin
>
>
>- Original Message -
>From: "Alain Turbide" <[EMAIL PROTECTED]>
>To: "Benjamin Bacon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Thursday, August 30, 2001 2:23 PM
>Subject: Re: Deleting mailboxes through cyradm
>
>
> > Try setting the "c" flag as well and making sure you are logged in as the
> > cyrus user ie cyradm  -u cyrus
> >
> > Alain
> >
> > - Original Message -
> > From: "Benjamin Bacon" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 30, 2001 2:02 PM
> > Subject: Deleting mailboxes through cyradm
> >
> >
> > > Hi everyne,
> > >
> > > I am using the perl version of cyradm.  Another problem I have found is
> > that
> > > I can't delete a mailbox even after I set the rights of the admin to be
> > able
> > > to delete the mailbox.  I can create mailboxes no problem. i.e:
> > >
> > > regprod8> sam user.dummy cyrus d
> > > regprod8> dm user.dummy
> > > deletemailbox: Permission denied
> > >
> > > Thanks ahead of time!
> > > Benjamin
> > >
> > >
> > >