You've got your Imap libraries confused. Cyradm only works with the perl
module Cyrus::IMAP::Admin that comes with Cyrus Imap version 2.xx
. IMAP-Admin-1.4.1 from Eric Estabrooks is a general Imap administration
module that sort of does the same thing but they don't work the same.
In your case you need to go to the perl directory under Cyrus-imap-2.x.x and
run "perl Makefile.PL" and make install to properly install the correct
modules. Both modules will coexist fine together since they install
themselves in different directories. You should not have to copy any
modules manually. By the way, Websieve no longer requires
IMAP::Admin-1.4.1 to function. If you download the latest version and use
funlib.cyrus instead of the default funclib.pl (You must rename
funclib.cyrus to funclib.pl)., websieve will then use Cyrus::Admin for it's
functions.
Alain Turbide
----- Original Message -----
From: "Dietmar Rahlfs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 8:27 AM
Subject: Problem with Shell.pm and Admin.pm versions
> Hello,
>
> I copied Admin.pm from IMAP-Admin-1.4.1 into
> the site_perl/5.6.0/i586-linux/Cyrus/IMAP
> directory of my perl distribution. There
> also exists a symlink .../i586-linux/IMAP to
> .../i586-linux/Cyrus/IMAP .
>
> As long as I used the previosly installed
> version 1.00 of Admin.pm, cyradm (=Shell.pm)
> and Admin.pm were working happily together.
> My Shell.pm is from the cyrus-imapd-2.0.9
> distribution, but also Shell.pm from 2.0.13
> works.
>
> Then I copy Admin.pm from version 1.4.1 of
> IMAP-Admin into this directory, and now
> cyradm fails with the following message:
>
> Can't locate object method "new" via package
> "Cyrus::IMAP::Admin" at
> /usr/lib/perl5/site_perl/5.6.0/
> i586-linux/Cyrus/IMAP/Shell.pm line 430.
>
> And the line 430 is
>
> $cyradm = Cyrus::IMAP::Admin->new($server, $port)
>
>
> But I need v1.4.1 for *Websieve*. What can I do?
>
> Thank you.
>
> Dietmar Rahlfs
>
> P.S.: I hardly know programming Perl.
>
>