> Wil Cooley wrote: > >>On Thu, 2004-03-11 at 16:46, John Gibson wrote: >> >> >> >>>Your suggestion sounds great, but "cyradm" is a bourne shell script, not >>>perl. So the "use" command gives an error. >>> >>> >> >>Oh yeah. Just put the PERL5LIB variable there above the 'case' >>statement. >> >>Wil >> >> > YEAH! Thanks Wil. Now, on to the authentication issues. :) > > ...john > > *** DETAIL *** > [EMAIL PROTECTED] bin]# diff cyradm cyradm1 > 41a42,43 > > # Added suggestion by Wil Cooley jg. > > PERL5LIB=/usr/local/lib/perl5/site_perl/5.6.1/i386-linux;export > PERL5LIB > [EMAIL PROTECTED] bin]# > > *** original *** > bash-2.05a$ cyradm ares > Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains: > /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 > /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 > /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.6.1/i386-linux > /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .). > BEGIN failed--compilation aborted. > > *** after path modification *** > bash-2.05a$ cyradm1 ares > IMAP Password: Login failed: user not found at > /usr/local/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line > 118 > cyradm: cannot authenticate to server with as poppy ^^^^^^
call cyradm with something like cyradm --user cyrus --auth login localhost Simon > bash-2.05a$ > > > > --- > 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 > --- 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