raw access to imap quotas, with mail user
Derrick J Brashear
shadow at dementia.org
Sun Sep 19 22:15:20 EDT 2004
On Sun, 19 Sep 2004, Felix Cuello wrote:
> 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?
In general programs which access the mail store run as the cyrus user.
Inasmuch as this should be being done at all, your program should be
setuid cyrus. I don't think doing this is a good idea in general, though.
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