Sieve filter scripts with Kolab (was Re: hello)

Thomas Lotterer thl at dev.de.cw.com
Fri Apr 30 09:49:01 CEST 2004


On Fri, Apr 30, 2004, Martin Honermeyer wrote:

> I am getting this on a pretty new Kolab ZFOS install:
> 
> > /kolab/bin/sieveshell
> Can't locate Cyrus/SIEVE/managesieve.pm in @INC (@INC 
> contains: /etc/perl /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/local/lib/site_perl .) 
> at /kolab/bin/sieveshell line 44.
> BEGIN failed--compilation aborted at /kolab/bin/sieveshell line 44.
> 
> What's that? Why is this module missing?
> 
Martin,
you discovered a bug. The problem is within the /kolab/bin/sieveshell
perl script. The second line causes it to restart itself with a perl
where the options are controlled by the script. Unfortunately is calls
perl where it should call /kolab/bin/perl. So it picks up the wrong perl
interpreter which has the wrong INC set ... Your options are:

1.) make sure /kolab/bin/perl is the first in the path

2.) hack /kolab/bin/sieveshell and modify the second line

    -exec perl -x -S $0 ${1+"$@"} # -*-perl-*-
    +exec /kolab/bin/perl -x -S $0 ${1+"$@"} # -*-perl-*-


3.) wait until OpenPKG fixed the problem, MFC the fix into 2_0_SOLID and
    ZfOS integrates this and publishes a new snapshot. Will take one or
    two weeks because there are other important issues in the queue.

--
Thomas.Lotterer at cw.com, Cable & Wireless




More information about the users mailing list