Hiten (Monday, December 31, 2001 1:26 PM) keyes in:
but the problem is there are more than one partition and if I set quota on home directory the mail is delivered in var/spool(another disk) directory
One solution is: - Stop sendmail (or whatever....) service - Create a directory /home/mail (which is presumably on your partition under quota) with the same permissions as /var/spool/mail - Move all files from /var/spool/mail/ directory to /home/mail/ - Remove /var/spool/mail directory - Create a soft link to /home/mail as /var/spool/mail: ln -s /home/mail /var/spool/mail - Start sendmail (or whatever....) service
Now, your mails will be counted in the quota of the user and you don't need to set quota on multiple-partitions either. Your backups would be simpler (assuming you take backups of only user-data).
While you are at it, consider making /tmp a soft-link to /home/tmp, which will count temporary files in the quota too. Remember to set the appropriate permissions to /home/tmp too.