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
 /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 78.
 
 One thing to note, when I compiled and installed cyrus-imapd-2.0.16 the perl
 modules Cyrus:IMAP ended up in /usr/local/lib/ but my perl is
 /usr/lib/perl5/... and cyradm didn't work until I copied the Cyrus folder
 with IMAP.pm etc. over to my perl install.
 
 so after I manually moved the modules then i could get cyradm to work. but
 the perl scripts trying to access the Cyrus::IMAP modules don't seem to.

Are you sure?  The 

  Use of uninitialized value in subroutine entry

is just a warning and may (!) not say anything about the work done by
the script.  Did you try to add a user and have a look at the cyrus 
structures afterwards?


Regards,

Birger



sasldb odd location

2002-03-09 Thread Jeff Bert



my sasldb is 
called sasl.db and installed into /var/lib/sasl/

is there something 
I need to set for cyradm to see this?

I've been having 
problems with cyradm connecting to the
server and it 
never asks me for a password even tho'
my mail admin is 
in the sasl db.

i set it up like 
this:

#./configure 
--without-notify --with-auth=unix --with-perl=/usr/bin/perl
--disable-sieve 


and no compile 
errors noted.

#cyradm -u admin 
localhost

hangs for awhile 
then :

#cyradm: cannont 
connect to server 

is 
returned

and 


#cyradm -u admin 
my.own.box (the boxes host name)

returns

cyradm: cannot 
connect to server

immediately.

#sasldblistusers
user: admin realm: 
my.own.box mech: PLAIN

any ideas to help 
me? I really like Cyrus and want to get
it up and 
running.

Thanks,

Jeff


sasldb odd location (non-html)

2002-03-09 Thread Jeff Bert

my sasldb is called sasl.db and installed into /var/lib/sasl/

is there something I need to set for cyradm to see this?

I've been having problems with cyradm connecting to the
server and it never asks me for a password even tho'
my mail admin is in the sasl db.

i set it up like this:

#./configure --without-notify --with-auth=unix --with-perl=/usr/bin/perl
--disable-sieve 

and no compile errors noted.

#cyradm -u admin localhost

hangs for awhile then :

#cyradm: cannont connect to server 

is returned

and 

#cyradm -u admin my.own.box (the boxes host name)

returns

cyradm: cannot connect to server

immediately.

#sasldblistusers
user: admin realm: my.own.box mech: PLAIN

any ideas to help me?  I really like Cyrus and want to get
it up and running.

Thanks,

Jeff