deleteaclmailbox: group:<group> fails
Simon Matter
simon.matter at ch.sauter-bc.com
Fri Jun 24 08:19:48 EDT 2005
> Only thing I can honestly think of is dumb mailboxes.db into a text
> file, edit it out, and re-import it.
Sure, I know how to fix it that way. I was asking for help to change the
code so that cyrus-imapd allows us to remove ACLs for which the
identifiers don't exist anymore.
>
> ala ctl_mboxlist
>
>
>
> On Fri, 24 Jun 2005 12:21:24 +0200 (CEST)
> "Simon Matter" <simon.matter at ch.sauter-bc.com> wrote:
>
>> >> Josh Whitver on Tuesday, June 21, 2005 at 3:13 PM -0600 wrote:
>> >>>Hello all,
>> >>>
>> >>>I'm setting up group-based ACLs
>> >> [for shared mailboxes]
>> >>>on my Tiger server box, and at one point I made an oopsie. So I'm
>> >>> trying
>> >>> to
>> >>>delete those ACLs but it's
>> >> [cyrus]
>> >>>not letting me. A sample cyradm transcript is as follows:
>> >>>
>> >>>localhost> lam UHS/News
>> >>>cyrusadmin lrswipcda
>> >>>group:uhs lrsp
>> >>>anyone p
>> >>>localhost> dam UHS/News group:uhs
>> >>>deleteaclmailbox: group:uhs: Invalid identifier
>> >>
>> >> Sorry to be a bother, but does anyone have some ideas on what's
>> >going on > here?
>> >
>> > The group uhs doesn't exist. Looks like a bug to me that you can't
>> > remove an ACL if the identifier doesn't exist. Does someone know
>> > more about this?
>>
>> I tried to fix it with attached patch but it doesn't work at all -
>> which is what I expected, bash is the only thing I really understand.
>> From what I can think of, with every ACL operation except remove, it's
>> okay to check whether an identifier really exists. But for remove, it
>> should be possible to remove an ACL even if the identifier has been
>> removed before.
>>
>> Anyone out there to help?
>>
>> Simon
>>
>> >
>> >> Thanks!
>> >> --
>> >> Josh Whitver
>> >> whitverj at urbandale.k12.ia.us / josh at whitver.net
>> >> The best way to make a fire with two sticks is to make sure one of
>> >them > is
>> >> a
>> >> match.
>> >>
>> >> ---
>> >> 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
>> >
>> >
>>
>>
>> !DSPAM:42bbeace63395372410069!
>
>
> --
> "What does one want when one is engaged in the sexual act?
> That everything around you give you its utter attention
> Think only of you, care only for you...
> Every man wants to be a tyrant when he fornicates"
>
>
---
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
More information about the Info-cyrus
mailing list