allowusermoves in perl ay 2.2.3

Ken Murchison ken at oceana.com
Thu Apr 1 09:52:27 EST 2004


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)?


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