Re: Subscribe as admin for a user?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-07-12 at 11:48 -0400, Jason Englander wrote:
> Anyone know of a perl module or php function that will let the cyrus 
> administrator-user subscribe a mailbox for a user without 
> authenticating as that user and without using autocreate?

well, the Mail::IMAPClient module for Perl has a subscribe() method.
set AUTHUSER to log on as an admin.

> Would I break anything by modifying 
> /var/imap/user/X/joeschmo/joeschmo.sub?

it's unlikely that the user will do it simultaneously, so no.
we used to do that when we created new accounts.

> The user would definitely not be logged in at the time.

there you go, then.
-- 
Kjetil T.


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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux