cyradm > lm returns empty list but mailboxes are accessible via

Patrick Radtke phr2101 at columbia.edu
Mon Jul 24 12:09:12 EDT 2006


what command line options are you using with cyradm?

do you have GSSAPI enabled and Keberos in your environment?


On Jul 23, 2006, at 11:25 AM, alexp at beautybase.com wrote:

> I asked this question (see below) two weeks ago but had no reply. Just
> posting it one more time, hoping to get an answer :)
>
> thanks
>
>> I do not know what went wrong but now if I log in using cyradm to
>> administrator console i can't get nither mailboxes list nor
> create/delete > functionality or even see info.
>>
>> What i did was patched the  system (instructions below) and now sieve
>> works fine..
>>
>> please advise.
>> alex
>>
>> 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/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 failure-message tells you that sieveshell cannot locate the
>>> managesieve.pm, 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 managesieve.pl, 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
>>
>>
>> ----
>> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
>> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>>
>
>
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



More information about the Info-cyrus mailing list