Disk quotas on INBOXes

g geleem at bellsouth.net
Sat Mar 7 06:29:05 UTC 2009


Ashley M. Kirchner wrote:

> So, I want to limit 
> the size of their INBOX file as well, through quotas.
> 
>     Possible?

never really thought about it, but have you considered using a link?

create a file in users home directory, as root;

touch /home/ashley/mspool
chown ashley:mail mspool
ln -s -t /var/spool/mail/ mspool
mv /var/spool/mail/mspool /var/spool/mail/ashley
chown -h ashley:mail ashley

in replacement of above, this could be shortened with;

touch /home/ashley/ashley
chown ashley:mail ashley
ln -s -t /var/spool/mail/ ashley
chown -h ashley:mail ashley

in addition, this would need to be done with '/var/spool/mail/ashley' file
deleted or empty. if not deleted, '-f' must be added to 'ln' command.

-- 

peace out.

tc,hago.

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today
**
to mess up a linux box, you need to work at it;
to mess up an ms windows box, you just need to *look at* it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090307/a299c8de/attachment-0002.sig>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Attached Message Part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090307/a299c8de/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090307/a299c8de/attachment-0003.sig>


More information about the fedora-list mailing list