cyradm failure

Ken Murchison ken at oceana.com
Mon Aug 11 12:44:45 EDT 2003


You never want to do any kind of admin outside of the IMAP protocol (eg, 
filesystem tweaks) unless its absolutely necessary.  Since cyradm is 
just a perl-based IMAP client, all you need to do is use the same 
SETQUOTA command:

[ken at eagle]$ imtest -a cyrus localhost
. SETQUOTA <mailbox> (STORAGE <size>)
. LOGOUT


where <size> is in KB.


Jeff Blaine wrote:
> In the meantime, is there anyone who can tell me how to adjust
> a user's quota via the files in /var/imap/quota ?  I see files
> to edit, but don't know how to make the changes take effect
> (they don't seem to on their own).
> 
> We have a user who's had mail being undelivered for 3 days now
> because of quota problems and I do not want the messages to
> bounce back to the senders.
> 
> Jeff Blaine wrote:
> 
>> I read the long thread (with no resolution) about this from
>> Jan 2003.
>>
>> With our existing AND a brand new fresh/clean Perl 5.6.1
>> build for the sake of trying to get this to work, I cannot get
>> it to work and cannot make any sense of what the problem is:
>>
>> - Solaris 7
>> - Cyrus IMAP 2.1.13 (working fine with 100 users - has been
>>   for months.  Just can't do any administration yet!)
>> - Cyrus IMAP 2.1.14 does the same thing.
>>
>> =========================================================================
>> cd /cyrus/src/perl-5.6.1
>> sh Configure -des -Dprefix=/cyrus -Uinstallusrbinperl
>> make
>> make install
>> =========================================================================
>> % cd /cyrus/lib
>> % ls
>> libacap.a            libdb-4.so@          libsasl2.so.2@
>> libcyrus.a           libdb.a@             libsasl2.so.2.0.13*
>> libdb-4.1.a          libdb.so@            perl5/
>> libdb-4.1.la         libsasl2.la*         sasl2/
>> libdb-4.1.so*        libsasl2.so@
>> % nm libsasl2.so | grep sasl_client_init
>> [521]   |     25256|     372|FUNC |GLOB |0    |10     |sasl_client_init
>> %
>> =========================================================================
>> % cd /cyrus/src/cyrus-imapd-2.1.13/perl/imap
>> % SASL_LIB="-L/cyrus/lib -R/cyrus/lib"
>> % SASL_INC=-I/cyrus/include
>> % OPENSSL_LIB="-L/usr/rcf/lib -R/usr/rcf/lib"
>> % OPENSSL_INC=-I/usr/rcf/include
>> % perl Makefile.PL
>> Checking if your kit is complete...
>> Looks good
>> Writing Makefile for Cyrus::IMAP
>> % make
>> ...
>> [ Output deleted - success and proper -L, -R, and -I options used ]
>> [ as set above! ]
>> ...
>> % make install
>> ...
>> [ Output deleted ]
>> ...
>> % /cyrus/bin/cyradm
>> Can't load 
>> '/cyrus/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' 
>> for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file 
>> /cyrus/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: 
>> symbol sasl_client_init: referenced symbol not found at 
>> /cyrus/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
>>  at /cyrus/lib/perl5/site_perl/5.6.1/sun4-solaris/Cyrus/IMAP/Admin.pm 
>> line 44
>> Compilation failed in require at 
>> /cyrus/lib/perl5/site_perl/5.6.1/sun4-solaris/Cyrus/IMAP/Admin.pm line 
>> 44.
>> BEGIN failed--compilation aborted at 
>> /cyrus/lib/perl5/site_perl/5.6.1/sun4-solaris/Cyrus/IMAP/Admin.pm line 
>> 44.
>> Compilation failed in require at 
>> /cyrus/lib/perl5/site_perl/5.6.1/sun4-solaris/Cyrus/IMAP/Shell.pm line 
>> 60.
>> BEGIN failed--compilation aborted at 
>> /cyrus/lib/perl5/site_perl/5.6.1/sun4-solaris/Cyrus/IMAP/Shell.pm line 
>> 60.
>> Compilation failed in require.
>> BEGIN failed--compilation aborted.
>>
>>
>>
>>
> 
> 

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list