allowusermoves in perl ay 2.2.3

Philip Chambers P.A.Chambers at exeter.ac.uk
Thu Apr 1 10:06:36 EST 2004


On Thu, 01 Apr 2004 09:52:27 -0500 Ken Murchison <ken at oceana.com> wrote:

> Philip Chambers wrote:
> > On Wed, 31 Mar 2004 11:33:36 -0500 Ken Murchison <ken at oceana.com> wrote:
> > 
> > 
> >>Philip Chambers wrote:
> >>
> >>>I have "allowusermoves: yes" in my imapd.conf file and find that the renamemailbox 
> >>>command in cyradm to rename a user works, which is fine.
> >>>
> >>>However when I try the same in a small perl program of my own I get "Operation is 
> >>>not supported on mailbox" returned.  The script will rename sub-folders, but behaves 
> >>>just as it used to before "allowusermoves: yes" was set.
> >>>
> >>>Do I need to do anything in my perl script to get it to take note of the new option?
> >>
> >>No, this option is server-side, not client side.  Is yoru perl program 
> >>authentcating as an admin?  You need to be an admin to rename a user.
> >>
> > 
> > 
> > I am using the same username/password to authenticate in the perl script as i do 
> > when using the cyradm utility.
> 
> Is it possible that your perl program is using a SASL mech which allow 
> proxying and its authorizing as a different user than you're 
> authenticating (effectively making you a non-admin)?

But then I would not be able to rename a sub-folder either.  My perl script will 
happily rename a sub-folder belonging to any user.

Phil.
---------------------------------------
Phil Chambers (postmaster at exeter.ac.uk)
University of Exeter

---
Home Page: http://asg.web.cmu.edu/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