raw access to imap quotas, with mail user

Edward Rudd eddie at omegaware.com
Sun Sep 19 22:55:45 EDT 2004

On Sun, 2004-09-19 at 18:32, Felix Cuello wrote:
> Hello,
>    I wrote a small C program to access to quota files without ask cyrus. This
>    program run under mail group.
>    I noticed when something change in the mailbox [deleting mails, receiving
>    mails, etc] the /var/imap/quota permissions are resetted to:
>    -rw-------  cyrus.mail
>    Then mail users can't have read access to this files and my C program
>    doesn't have read access to the files.
>    It is possible to change that?
Possible, yes, probable, no.  It's kinda insecure to do that, and relies
on the cyrus mail store being the same. it's better to go through the
channels provided by cyrus and not bypass them and go directly to the

What's wrong with just making an imap connect to ask for the quota root?
(you don't have to run cyradm to check quatas..)
>    Thanks a lot,
>    Félix
Edward Rudd <eddie at omegaware.com>
Website http://www.outoforder.cc/

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