Re: delete all email on a cyrus account

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jim B
Date:  
To: plug-discuss
Subject: Re: delete all email on a cyrus account
ok I changed the permissions with sam user cyrus lrswipcda but what I
did prior to this is I deleted the users folder under
/var/spool/imap/c/user/craig

So now I can not delete the mailbox:

localhost> rm user
/bin/rm: cannot remove `user': No such file or directory
child process exited abnormally
localhost> cm user
command failed: Mailbox already exists


Jim


On Apr 7, 2005 1:38 PM, Craig White <> wrote:
> On Thu, 2005-04-07 at 12:05 -0700, Jim B wrote:
> > > To delete the account...
> > > su - cyrus - c '/usr/lib/cyrus-imapd/cyradm localhost'
> > > sam user.$USER_NAME cyrus lwrspcda
> > > dm user.$USER_NAME
> > > # substitute for cyrus, admin name in /etc/imapd.conf if you use a
> > > different account for cyrus admin
> > > # substitute different path for cyradm if yours is on a different path
> > > # substitute user account for $USER_NAME
> >
> > I am trying to delete the user account but I get permission denied and
> > then whe I just try to chang the permissions for the account I get the
> > below output.
> >
> >
> >
> > localhost> sam user actual.user.name cyrus lwrspcda
> > wrong number arguments
> > localhost> sam user acuat.user.name cyrus w
> > wrong number arguments
> > localhost>
> >
> ----
> seems ok to me
>
> are you connected?
>
> lm #list mailboxes - could be a long list...
>
> localhost.localdomain> sam user.craig cyrus lwrsipcda
> localhost.localdomain> lam user.craig
> craig lrswipcda
> cyrus lrswipcda
>
> Craig
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss