Hi, CentOS 5.x, Sendmail 8.13.8. I would like to start using disk quotas on my Sendmail server, and optimally they should be configurable by user or group. How can this be done? (I tried to google, but no success.) - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hirvi at greenspot.fi * http://www.greenspot.fi
On 8/21/08, Jussi Hirvi <greenspot at greenspot.fi> wrote:> > Hi, > > CentOS 5.x, Sendmail 8.13.8. > > I would like to start using disk quotas on my Sendmail server, and > optimally > they should be configurable by user or group. How can this be done? (I > tried > to google, but no success.) > > - Jussi > >If each user's mail is stored in his homefolder, then you just need to enable user quotas :) man quota & man mtab for the options -- Kind Regards Rudi Ahlers -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080821/6d227158/attachment-0005.html>
> On 8/21/08, Jussi Hirvi <greenspot at greenspot.fi> wrote: > CentOS 5.x, Sendmail 8.13.8. <http://8.13.8.> > I would like to start using disk quotas on my Sendmail server, and optimally > they should be configurable by user or group. How can this be done? (I tried > to google, but no success.)Rudi Ahlers (rudiahlers at gmail.com) kirjoitteli (21.8.2008 13:55):> If each user's mail is stored in his homefolder, then you just need to enable > user quotas :) man quota & man mtab for the optionsHei, The mail is not stored in home folders but in /var/spool/mail. I would rather keep it that way - and I'm not sure if storing mail in home folders would work for procmail (Sendmail's local mailer), dovecot (pop server) etc. - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hirvi at greenspot.fi * http://www.greenspot.fi
Jussi Hirvi wrote:> > I would like to start using disk quotas on my Sendmail server, and optimally > they should be configurable by user or group. How can this be done? (I tried > to google, but no success.)Storing email in users' home folders makes sense in many ways. After all, those too are their files, not anybody else's. As an alternative, pretty close but not quite the same, I use Cyrus IMAPd, and keep the main Cyrus spool in /home/cyrus. This way, the /home volume is just "users' files" except I don't keep user johndoe's email in /home/johndoe/mail but in /home/cyrus/....../johndoe And Cyrus already has quota limits at the application level. Also has built-in filtering with Sieve. Faster, more powerful, more scalable than procmail & friends. It's just a suggestion, I'm not saying this is the ideal solution for every scenario. -- Florin Andrei http://florin.myip.org/