[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Disk quotas on INBOXes



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/
****


Attachment: signature.asc
Description: PGP signature

-- 
fedora-list mailing list
fedora-list redhat com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]