Pb using cyradm in script...
Hello. I try since two days to use cyradm (cyrus2.21) in a scropt (tcl, perl...), but everything i do don't run! Do you have an script example to generate root mailbox and quot? Thanks for your help, -- Erick Bullier - Ce message vous a été posté depuis le webmail de l'Ecole d'Application de l'Infanterie. Pour mieux connaitre l'EAI et l'infanterie, visitez le site web de l'école à l'adresse http://www.inf.terre.defense.gouv.fr --- 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
Re: Pb with cyradmin and quotas...
> The cyrus quota doesn't include administrative files, such as > cyrus.index and cyrus.cache -- the user is only "charged" for files they > have control over. Rather than checking the filesystem directly, use > /usr/local/cyrus/bin/quota (or wherever you installed it) and process > that output, or have a script connect to the IMAP server using an > administrative account and do getquotaroot commands. I made this check (see in the first mail) and the result was < to the filesystem check more than 2.5 Mo! I checked to the "cyrus administrative file" , and only one was very big: the top level cyrus.cache file (fast 1 Mo). The another were normal... The difference between the filesytem check end the cyrus quota check isn't normal for me (even whith the admin files...). Because i posted this mail this morning. Maybe there is something i don't know... Thank's for your help, Regards, Erick Bullier
Pb with cyradmin and quotas...
Hello, I use quotas on mailbox with cyradmin. I use scripts which check (in the night) if user go out the warning limit (80%) of is mailbox quota. Today, i see that a user maibox is 85% full. So i use cyradm to check it, and cyradm write: localhost> lq user.toto STORAGE 5996/1 (59%) I didn't understand and i made a check on the file systeme: # du -h /var/spool/cyrus/mail/user/toto 28k/var/spool/cyrus/mail/user/toto/Transmis 856k/var/spool/cyrus/mail/user/toto/Poubelle 16k/var/spool/cyrus/mail/user/toto/Brouillon 16k/var/spool/cyrus/mail/user/toto/arch1 16k/var/spool/cyrus/mail/user/toto/arch2 16k/var/spool/cyrus/mail/user/toto/arch3 8.5M/var/spool/cyrus/mail/user/totoe What's happend?.. I don't understand. Do you have an idea? Regards, E.Bullier