Re: Adding Users

2004-01-12 Thread Craig Ringer
Norman Zhang wrote: Oh okay. I disable port 143 (imap) in favor of 993 (imaps). Does cyradm only connects to 143? Cyradm wants to use port 143/tcp - AFAIK it doesn't support IMAPs. Try running an IMAPd for standard IMAP that only talks to the loopback interface. For more information on how, plea

Re: Adding Users

2004-01-12 Thread Norman Zhang
I would also make sure that master is running - telnet localhost 143 should give you a banner similar to: * OK host.domain.com Cyrus IMAP4 v2.1.15 server ready Oh okay. I disable port 143 (imap) in favor of 993 (imaps). Does cyradm only connects to 143? I'm not sure, but I'd give it a try. I can

Re: Adding Users

2004-01-12 Thread Tim Pushor
I'm not sure, but I'd give it a try. Norman Zhang wrote: I would also make sure that master is running - telnet localhost 143 should give you a banner similar to: * OK host.domain.com Cyrus IMAP4 v2.1.15 server ready Oh okay. I disable port 143 (imap) in favor of 993 (imaps). Does cyradm onl

Re: Adding Users

2004-01-12 Thread Norman Zhang
I would also make sure that master is running - telnet localhost 143 should give you a banner similar to: * OK host.domain.com Cyrus IMAP4 v2.1.15 server ready Oh okay. I disable port 143 (imap) in favor of 993 (imaps). Does cyradm only connects to 143? Regards, Norman I'm pretty sure you need

Re: Adding Users

2004-01-12 Thread Norman Zhang
I already did a su cyrus before typing cyradm localhost. I tried the command you recommended, but still get the same error message. Is there somewhere I can check the log for this? Does cyradm use any particular port? Regards, Norman Jason Williams wrote: I'm pretty sure you need to specify a us

Re: Adding Users

2004-01-12 Thread Tim Pushor
I would also make sure that master is running - telnet localhost 143 should give you a banner similar to: * OK host.domain.com Cyrus IMAP4 v2.1.15 server ready Jason Williams wrote: I'm pretty sure you need to specify a user that you are going to be connecting with. You also need to make sure

Re: Adding Users

2004-01-12 Thread Jason Williams
I'm pretty sure you need to specify a user that you are going to be connecting with. You also need to make sure that the user you are using is in the passwd backend that you are using: cyradm -u localhost Jason At 11:14 AM 1/12/2004 -0800, you wrote: Hi, I'm using cyrus-imapd-2.1.15-6mdk. Whe

Adding Users

2004-01-12 Thread Norman Zhang
Hi, I'm using cyrus-imapd-2.1.15-6mdk. When I try to add a user by connecting to mail server through cyradm, I get the following error. [EMAIL PROTECTED] etc]$ cyradm localhost cyradm: cannot connect to server [EMAIL PROTECTED] etc]$ more /etc/hosts 10.0.0.1mail.rd.arkonnetworks.co

RE: adding users via script

2002-03-10 Thread Jeff Bert
rom: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Bert > Sent: Sunday, March 10, 2002 4:39 AM > To: [EMAIL PROTECTED] > Subject: RE: adding users via script > > > Birger, the script worked after I changed the method of how I > installed the > Cyrus IMAP

RE: adding users via script

2002-03-10 Thread Jeff Bert
to:[EMAIL PROTECTED]]On Behalf Of Birger > Toedtmann > Sent: Saturday, March 09, 2002 6:27 AM > To: Jeff Bert > Cc: [EMAIL PROTECTED] > Subject: Re: adding users via script > > > Jeff Bert schrieb am Fri, Mar 08, 2002 at 11:04:43AM -0800: > > Thanks all but it looks

Re: adding users via script

2002-03-09 Thread Birger Toedtmann
Jeff Bert schrieb am Fri, Mar 08, 2002 at 11:04:43AM -0800: > Thanks all but it looks like the perl stuff is somewhat broken, cyradm works > from the command line but everytime I run any of the scripts I've been sent > I get this error: > > "Use of uninitialized value in subroutine entry at > /us

RE: adding users via script

2002-03-08 Thread Jeff Bert
002 8:49 AM > To: Birger Toedtmann; Jeff Bert > Cc: [EMAIL PROTECTED] > Subject: Re: adding users via script > > > here's something really simple i threw together, hope it helps. > > #!/usr/local/bin/perl -w > # Really simple create mailbox script > # by Steven Bloom

Re: adding users via script

2002-03-08 Thread Steven M Bloomfield
the quota if ($quota) { print STDERR "Setting quota for $mbox to $quota\n" if $debug; $cyrus->setquota($mbox, 'STORAGE', $quota); warn $cyrus->error if $cyrus->error; } - Original Message - From: "Birger Toedtmann" <[EMAIL PROTECTED]>

Re: adding users via script

2002-03-08 Thread Birger Toedtmann
Jeff Bert schrieb am Fri, Mar 08, 2002 at 08:02:44AM -0800: > I'm trying to find a script that will allow me to add users via a single > command line entry. > > I found "imapcreate.pl" at sourceforge but it seems to choke on every call > to the Cyrus::IMAP libraries. > > Has anyone done somethin

adding users via script

2002-03-08 Thread Jeff Bert
I'm trying to find a script that will allow me to add users via a single command line entry. I found "imapcreate.pl" at sourceforge but it seems to choke on every call to the Cyrus::IMAP libraries. Has anyone done something like this or modified this perl script to work? Jeff

RE: perl script for adding users

2001-10-04 Thread Kiarna Boyd
quota user." . $user . " storage 8000\n"; } elsif ( $command eq 'DEL' ) { print CMDS "puts \"\\ndelete inbox for user " . $user . "\\n\"\n"; print CMDS "cyr_conn setaclmailbox user." . $us

Re: perl script for adding users

2001-10-03 Thread Daniel Schwager
Vincent Stoessel wrote: > > Anyone have a sample perl script for adding new users for > cyrus? .. and anyone habe a sample perl script for changing user-permissions recursive ?? regards Danny -- DT Netsolution GmbH - Talaeckerstr

Re: perl script for adding users

2001-10-03 Thread Vincent Stoessel
Vincent Stoessel wrote: > Anyone have a sample perl script for adding new users for > cyrus? > Thanks. Hey , no longer need one. I found this gem which has a sample non interactive script example for adding cyrus users: http://www.oreilly.com/catalog/mimap/chapter/ch09.html -- Vincent Stoes

perl script for adding users

2001-10-03 Thread Vincent Stoessel
Anyone have a sample perl script for adding new users for cyrus? Thanks. -- Vincent Stoessel [EMAIL PROTECTED] Java Linux Apache Mysql Php (JLAMP) Engineer (301) 362-1750 Mobile (410) 419-8588