Re: Documentation for Cyrus::IMAP::Admin and friends

2018-12-18 Thread Binarus
nc provides --proxyauth1 and --proxyauth2 command line parameters. >> The same applies to CPAN: The modules cannot be found there. > > The Cyrus::* perl modules are tightly coupled at build time to the installed > cyrus version, so it doesn't make any sense to distribute them indepe

Re: Documentation for Cyrus::IMAP::Admin and friends

2018-12-17 Thread ellie timoney
nnot be found there. The Cyrus::* perl modules are tightly coupled at build time to the installed cyrus version, so it doesn't make any sense to distribute them independently via CPAN. > Where can I find reasonable (in the sense: may be short and bad, but > must be *complete*) document

Documentation for Cyrus::IMAP::Admin and friends

2018-12-16 Thread Binarus
t due to the lack of documentation for the respective Perl modules. This is best explained by example: I have found a Perl script on the 'net which looks trustworthy at the first sight and which contains (among others) the following lines of code: use Cyrus::IMAP::Admin; # Connect to C

Cyrus::IMAP::Admin seems to be missing a close method

2015-12-22 Thread Christian Spann via Info-cyrus
Hello, I am using Cyrus::IMAP::Admin perl module to connect to a Cyrus server in order to manage user accounts. We do not reuse connections but reopen a new handler instance and thus a new connection via Cyrus::IMAP::Admin to Cyrus for each user modification task. When handling a serious

Re: Cyrus::IMAP::Admin error text in setacl method.

2015-03-19 Thread Bron Gondwana
I do not understand the same. He says:  > > $user, $acl, Mailbox does no exists. > > My questions are: > 1. Text "Mailbox does no exists" is the content of the $mailbox with > wildcards? > 2. I do not can use the wildcards in the Cyrus::Imap::Admin? > > Thank you for y

Cyrus::IMAP::Admin error text in setacl method.

2015-03-19 Thread Manuel Vazquez
r but the text I do not understand the same. He says: $user, $acl, Mailbox does no exists. My questions are: 1. Text "Mailbox does no exists" is the content of the $mailbox with wildcards? 2. I do not can use the wildcards in the Cyrus::Imap::Admin? Thank you for your attention and regar

Re: Remove quota using Cyrus::IMAP::Admin?

2013-07-25 Thread Sebastian Hagedorn
Thanks Nic, I should've checked the archives first :( -- Nic Bernstein is rumored to have mumbled on 25. Juli 2013 11:13:34 -0500 regarding Re: Remove quota using Cyrus::IMAP::Admin?: Sebastian, Please take a look at this thread from January of last year, which discusses the issue in

Re: Remove quota using Cyrus::IMAP::Admin?

2013-07-25 Thread Nic Bernstein
tting the > quota to none: > > $ cyradm cyrus > Password: > server> sq user/xxx none > remove quota > server> > > But when I try to do the same using Cyrus::IMAP::Admin I get an error, > because a number is expected as argument. Is that a bug or a feature? >

Remove quota using Cyrus::IMAP::Admin?

2013-07-25 Thread Sebastian Hagedorn
Hi, you can remove the quota for a mailbox with cyradm by setting the quota to none: $ cyradm cyrus Password: server> sq user/xxx none remove quota server> But when I try to do the same using Cyrus::IMAP::Admin I get an error, because a number is expected as argument. Is that a bu

Re: [SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-18 Thread Wolfgang Breyha
On 2012-01-18 14:18, Greg Banks wrote: >> And second setting >> ->setquota(<-id->, "STORAGE", "-1") >> resulting in >> SETQUOTA id (STORAGE -1) >> what Bron suggested. That should also work IMO. At least on 2.4.12+. > > And that isn't correct according to RFC2087. It works only because the > serv

Re: [SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-18 Thread Greg Banks
G'day, On Tue, Jan 17, 2012, at 01:18 PM, Wolfgang Breyha wrote: > Ram wrote, on 17.01.2012 12:17: > > I am using cyrus-imapd-2.4.12-2 > > As Wolfgang suggested using > > $imap->setquota("user/$user") removed the quota. > > Looking at the code of Cyr

Re: [SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Wolfgang Breyha
Ram wrote, on 17.01.2012 12:17: > I am using cyrus-imapd-2.4.12-2 > As Wolfgang suggested using > $imap->setquota("user/$user") removed the quota. Looking at the code of Cyrus::IMAP::Admin there is no code checking for "none" or something like that. There are t

[SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
/~eestabroo/IMAP-Admin-1.6.4/Admin.pm >> >> >> But my GUI screens are already coded to use Cyrus::IMAP::Admin > What version of Cyrus are you using? > > Can you file a bug at bugzilla.cyrusimap.org if it's a 2.4 series, and I'll > get it fixed. > > Thanks

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Wolfgang Breyha
Ram wrote, on 17.01.2012 12:03: > That means we omit the word "STORAGE" , thanks .. will try that. Yes. I'm always setting "some" quota before to get it into a "defined" state to remove it afterwards. I use it for several years now and recently moved ~100k users without any troubles. Maybe you ha

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
On 01/17/2012 04:24 PM, Wolfgang Breyha wrote: > Bron Gondwana wrote, on 17.01.2012 11:36: >> On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: >>> http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ >>> There is a setquota function which should accept "none" for

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Bron Gondwana
On Tue, Jan 17, 2012, at 04:22 PM, Ram wrote: > No "-1" also gives an error not a number > > Interestingly set_quota function using CPAN module works fine with "none" > http://search.cpan.org/~eestabroo/IMAP-Admin-1.6.4/Admin.pm > > > But my GUI scr

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Wolfgang Breyha
Bron Gondwana wrote, on 17.01.2012 11:36: > On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: >> http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ >> There is a setquota function which should accept "none" for removing >> quota. But that does not work >> >

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
No "-1" also gives an error not a number Interestingly set_quota function using CPAN module works fine with "none" http://search.cpan.org/~eestabroo/IMAP-Admin-1.6.4/Admin.pm But my GUI screens are already coded to use Cyrus::IMAP::Admin On 01/17/2012 04:06 PM,

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Bron Gondwana
On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: > http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ > There is a setquota function which should accept "none" for removing > quota. But that does not work > > How do I set unlimited quota using the setquota function D

Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ There is a setquota function which should accept "none" for removing quota. But that does not work How do I set unlimited quota using the setquota function Cyrus Home Page: http://www.cyrusimap.org/ List Archives/

Re: Cyrus::IMAP::Admin with SSL? (Marten Lehmann)

2006-11-28 Thread Karl Boyken
Marten, if you're writing your own scripts, download the IMAP::Admin Perl module from CPAN and use that, instead. It will let you connect via SSL. Karl Boyken Hello, how can I connect to the Cyrus-Server with Cyrus::IMAP::Admin through SSL? Currently I am using Cyrus::IMAP::Admin

Cyrus::IMAP::Admin with SSL?

2006-11-28 Thread Marten Lehmann
Hello, how can I connect to the Cyrus-Server with Cyrus::IMAP::Admin through SSL? Currently I am using Cyrus::IMAP::Admin->new($server, $port); Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: h

Re: Cyrus::IMAP::Admin or IMAP::Admin ?

2006-08-03 Thread Andrew Morgan
On Thu, 3 Aug 2006, Rudy Gevaert wrote: Hi, I'm building a bunch of perl scripts to administer our users on our mail installation. For now I've been using Cyrus::IMAP::Admin. On CPAN I also found IMAP::Admin. Which one should I use? I can see the following differences: -

Cyrus::IMAP::Admin or IMAP::Admin ?

2006-08-03 Thread Rudy Gevaert
Hi, I'm building a bunch of perl scripts to administer our users on our mail installation. For now I've been using Cyrus::IMAP::Admin. On CPAN I also found IMAP::Admin. Which one should I use? I can see the following differences: - the cyrus version doesn't support ssl, whil

anthentication problem with Cyrus::IMAP::Admin;

2006-07-18 Thread jerry
Hi,   This is a follow up to my earlier call for help. I am stuck, so I will ask a simpler question. Is there any trick authenticating as a global admin (cyrus) with Cyrus::IMAP::Admin? When I login with user “cyrus” in cyradm I can see in the log that I have authenticated as just cyrus

anthentication problem with Cyrus::IMAP::Admin;

2006-07-16 Thread jerry
Hi,   I am having an authentication problem with Cyrus::IMAP::Admin;   I could not create a mailbox and did not understand the problem until today. The problem is that I can only create and delete mailboxes at domain.com (for example).   I am authenticating with user cyrus and not

Invalid mailbox name with Cyrus::IMAP::Admin;

2006-07-15 Thread jerry
problem.   I cannot do the same thing with perl and Cyrus::IMAP::Admin   I get the error “Invalid mailbox name” with all the variations I have tried. We used to pass [EMAIL PROTECTED].   Any help would be appreciated. I am not sure how to debug this.   Thanks, Jerry Cyrus Home Page

Re: where is Cyrus::IMAP::Admin perl module

2004-12-08 Thread Rob Tanner
Sam, It's part of the standard Cyrus-imap distribution and copyright CMU. As far as I know, that's the only way the module is distributed. -- Rob --On Thursday, December 09, 2004 10:51:10 AM +0800 Jack <[EMAIL PROTECTED]> wrote: > Hi, > > I search the cpan.org website, but could not find a do

where is Cyrus::IMAP::Admin perl module

2004-12-08 Thread Jack
Hi, I search the cpan.org website, but could not find a download link for this module. Can anyone tell me where can I download this perl module? Note, this is not the same as that old IMAP::Admin module written few years ago. Thanks Sam --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wik

Cyrus::IMAP::Admin

2004-08-05 Thread ms419
Three questions about Cyrus::IMAP::Admin: I am using Cyrus::IMAP::Admin for a script to archive mailboxes. It should rename to .Archives.. 1). How does one list mailboxes which _don't_ contain ".Archives."? It's one thing to list those that _do_: my @mailboxes

Re: Proxy support in Cyrus::IMAP::Admin (was: Re: subscribing fora user)

2003-07-17 Thread Rob Siemborski
On Thu, 17 Jul 2003, Matt Bernstein wrote: > >> I hacked the IMAP::Admin (nb not Cyrus::IMAP::Admin) module to do this. I > >> sent my hack to its author, but I don't think it made it in: > > > >Who do we beg to get this accepted? ;) [snip] > Maybe Cyr

Re: Proxy support in Cyrus::IMAP::Admin (was: Re: subscribing for a user)

2003-07-17 Thread Etienne Goyer
On Thu, Jul 17, 2003 at 08:11:03AM +0100, Matt Bernstein wrote: > Also, it's not a brilliant patch--it only tries the PLAIN mechanism, as > (at least thus far) that's the only one (of the ones which support > proxying) I use on my setup. I have modified this module for my use too. I built SASL

Re: Proxy support in Cyrus::IMAP::Admin (was: Re: subscribing fora user)

2003-07-17 Thread Matt Bernstein
On Jul 16 Mike Cathey wrote: >> I hacked the IMAP::Admin (nb not Cyrus::IMAP::Admin) module to do this. I >> sent my hack to its author, but I don't think it made it in: > >Who do we beg to get this accepted? ;) nb my "nb" ;) Also, it's not a brilliant pa

Proxy support in Cyrus::IMAP::Admin (was: Re: subscribing for auser)

2003-07-16 Thread Mike Cathey
Matt, On Wed, 2003-07-16 at 11:33, Matt Bernstein wrote: > I hacked the IMAP::Admin (nb not Cyrus::IMAP::Admin) module to do this. I > sent my hack to its author, but I don't think it made it in: Who do we beg to get this accepted? ;) Cheers, Mike -- Mike Cathey - http://www.mik

Cyrus::IMAP::Admin headaches

2002-11-04 Thread Tornoci Laszlo
destruction. Line 106 in Cyrus::IMAP::Admin looks like this: 101:sub AUTOLOAD { 102: use vars qw($AUTOLOAD); 103: no strict 'refs'; 104: $AUTOLOAD =~ s/^.*:://; 105: my $sub = $Cyrus::IMAP::{$AUTOLOAD}; 106: *$AUTOLOAD = sub { &$sub($_[0]->{cyrus}, @_[1..$#_]); }; 107: goto &

Re: Cyrus::IMAP::Admin setquota

2002-03-01 Thread Ken Murchison
Joe Ellis wrote: > > How can I unset a quota when I use Cyrus::IMAP::Admin? > > $cnx->setquota needs a value for the quota. I can't leave the quota > blank. But in cyradm, I can set and unset quota. When I want to unset > the quota in cyradm, I just run: "s

Cyrus::IMAP::Admin setquota

2002-03-01 Thread Joe Ellis
How can I unset a quota when I use Cyrus::IMAP::Admin? $cnx->setquota needs a value for the quota. I can't leave the quota blank. But in cyradm, I can set and unset quota. When I want to unset the quota in cyradm, I just run: "sq user/mailbox". any ideas?

Trying to use Cyrus::IMAP::Admin

2001-05-30 Thread mills
I wrote a tiny perl script that uses Cyrus::IMAP::Admin. It fails with the error: Can't locate auto/Cyrus/IMAP/quota.al in @INC (@INC contains: ...) at ... As far as I can tell, Cyrus::IMAP::Admin is properly installed. cyradm works. What's wrong? -- -Gary Mills--Unix Support

RE: Problem with Cyrus::IMAP::Admin

2001-05-09 Thread Stefano Coatti
Fantastic. Now it works fine. Very very thanks Best regards Stefano -Original Message- From: Francesc Guasch [mailto:[EMAIL PROTECTED]] Sent: mercoledì 9 maggio 2001 13.52 To: Stefano Coatti Cc: 'Cyrus List (E-mail)' Subject: Re: Problem with Cyrus::IMAP::Admin Stef

Re: Problem with Cyrus::IMAP::Admin

2001-05-09 Thread Francesc Guasch
Stefano Coatti wrote: > > I tried to write my personal script to make batch command in > creating/listing/deleting user & mailboxes. I login like this: my $plen = length($pass); warn ("$user $pass\n"); $imap->send(undef,undef,"LOGIN $user {$plen}\r\n$pass")

Problem with Cyrus::IMAP::Admin

2001-05-09 Thread Stefano Coatti
n by the demon imapd. My script is this: #--- #!/usr/bin/perl use strict; use Cyrus::IMAP::Admin; my $user = "root"; my $mech = "cram-md5"; my $cyryo = Cyrus::IMAP::Admin->new("MyServer", 143) or die "cyryo: cannot connect