I am trying to configure quota for the email account. I am using Redhat 8.0, sendmail and squirrelmail for my email server.
I have added the below script in /etc/rc.d/rc.local :
if [ -x /sbin/quotacheck ]; then
echo "Checking quotas. This may take some times..."
if [ -x /sbin/quotaon ]; then
echo "Enabling disk quota.."
But, when I run this script an error occur as below :
quotaon: Cannot find quota file on /home [/dev/hda3] to turn quotas on/off.
Which part should I edit or miss out?
Thanks in advance,