cyradm > lm returns empty list but mailboxes are accessible via

alexp at alexp at
Tue Jul 11 14:58:44 EDT 2006

I do not know what went wrong but now if log in using cyradm to
administrator console i can't get nither mailboxes list nor create/delete
or even see info.

What i did was patched the  system (instructions below) and now sieve
works fine..

please advise.

patching instractions
> 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/ 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 /
>> /usr/local/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Cyrus/SIEVE/
>> /usr/local/src/cyrus-imapd-2.2.12/perl/sieve/managesieve/
>> /usr/local/src/cyrus-imapd-2.2.12/perl/sieve/managesieve/blib/lib/Cyrus/SIEVE/
>> /usr/local/src/cyrus-imapd-2.2.13/perl/sieve/managesieve/
>> /usr/local/src/cyrus-imapd-2.2.13/perl/sieve/managesieve/blib/lib/Cyrus/SIEVE/
>> /opt/cyrus-imapd-2.2.12/perl/sieve/managesieve/
>> /opt/cyrus-imapd-2.2.12/perl/sieve/managesieve/blib/lib/Cyrus/SIEVE/
>> 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 failure-message tells you that sieveshell cannot locate the
>, and also all the places where it looked. So there are
> two possible solutions: either tell perl to also look in /usr/local/lib
> for, or to install the perl parts of Cyrus not in
> /usr/local but in /usr/lib/perl5. I've opted for the second solution,
> and every time I build Cyrus, I apply a simple patch (included).
> The only drawback it has is that sieveshell itself will be installed in
> /usr/lib/perl5 as well.
> The patch can be installed by doing:
> cd cyrus-imapd-2.2.12
> make distclean
> patch -p1 < cyrus-imapd-perl_prefix.patch
> ./configure <any options>
> make

More information about the Info-cyrus mailing list