Can't locate Cyrus/SIEVE/managesieve.pm

Alexander Dalloz ad+lists at uni-x.org
Mon Jul 10 18:41:00 EDT 2006


Am Mo, den 10.07.2006 schrieb alexp at beautybase.com um 18:47:

> I have installed Cyrus+SIEVE and i can even see SIEVE running if i telnet
> to the 2000 port, but if i run  sieveshell
> I get the following error.
> 
> Can't locate Cyrus/SIEVE/managesieve.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
> /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
> /usr/lib/perl5/vendor_perl .) at /usr/local/bin/sieveshell line 44.
> BEGIN failed--compilation aborted at /usr/local/bin/sieveshell line 44.
> 
> but the module is there
> 
> locate /managesieve.pm
> /usr/local/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Cyrus/SIEVE/managesieve.pm
> /usr/local/src/cyrus-imapd-2.2.12/perl/sieve/managesieve/managesieve.pm
> /usr/local/src/cyrus-imapd-2.2.12/perl/sieve/managesieve/blib/lib/Cyrus/SIEVE/managesieve.pm
> /usr/local/src/cyrus-imapd-2.2.13/perl/sieve/managesieve/managesieve.pm
> /usr/local/src/cyrus-imapd-2.2.13/perl/sieve/managesieve/blib/lib/Cyrus/SIEVE/managesieve.pm
> /opt/cyrus-imapd-2.2.12/perl/sieve/managesieve/managesieve.pm
> /opt/cyrus-imapd-2.2.12/perl/sieve/managesieve/blib/lib/Cyrus/SIEVE/managesieve.pm
> 
> 
> 
> Please help. I have wasted 2 days already. Re-installed from scratch the
> whole system number of times. What i am actually is trying to archive is
> to create SIEVE script which will be placing 'users' spam messages (marked
> as a SPAM in the subj. field by SpamAssassin) into user.$user.Spam folder.

The problem is obvious. You installed Cyrus-IMAPd and especially the
Perl modules in /usr/local and /opt (the other locate places are the
source code locations), but your Perl include path does not cover that
directories. Install Cyrus-IMAPd together with the Perl modules inside
/usr instead of /usr/local.

Don't you run an OS with a package manager? Then package Cyrus-IMAPd.

Alexander


-- 
Alexander Dalloz | Löhne, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 00:36:27 up 1 day, 1:41, load average: 0.12, 0.12, 0.09 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20060711/282dfa2b/attachment.bin


More information about the Info-cyrus mailing list