Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi
I want to setup a mail server for a domain that I own. I haven't been able to successfully setup user quotas. Is there a mail program that will simulate user quotas? I would like something that will let users access mail through a webpage.
thanks
I don't know of any mail quota programs or any that enable this off hand but what kind of problems are you running into when setting up user quotas on your filesystem? If you provide more details, we might be more of help.
I've tried asking here before, but none of the solutions seemed to work. When I edit a user's quota, and then run repquota -a it doesn't show the changes.
Originally posted by Dipdngold I've tried asking here before, but none of the solutions seemed to work. When I edit a user's quota, and then run repquota -a it doesn't show the changes.
Okay.. umm.. Any more details about your setup, what type of filesystem, kernel version, and so on? From what you've told me tells me nothing to work by.. or give a decent answer? Anything else you've tried, can you turn quota's on, etc?
I'm using Debian 3.0 kernel version 2.2.20 I also have 2.4.24 but I have the same problem with that too. Quotas get turned on during boot. If I use the command quota on, it says:
quotaon: using /home/quota.group on /dev/hdd2 [/home]: Device or resource busy
quotaon: using /home/quota.user on /dev/hdd2 [/home]: Device or resource busy
Okay so your getting device busy which is normal if its already turned on at bootup. What happens if you try turning it off and then back on? Does it apparently turn on with no errors, etc?
What about running the command repquota -avug instead of just -a?
Sorry I didn't respond sooner, forgot about this thread and they can get swallowed up rather quickly at times..
Well it appears the quota is working but you say its just not taking the changes. How exactly are you editing the userquota's?
I just tested on one of my machines editing a user and after making the changes, saved and ran repquota -avug it showed the new values.
edquota -u <username>
<make changes, save>
repquota -avug
Code:
root@gemini:~# repquota -avug
*** Report for user quotas on /dev/hdb5 (/home)
Block limits File limits
user used soft hard grace used soft hard grace
root -- 32 0 0 5 0 0
nobody -- 84 0 0 28 0 0
fin -- 20 50000 60000 5 0 0
tarts -- 8004 50000 60000 43 0 0
drew -- 488584 0 0 2358 0 0
If you can give the output of your edquota -u <username> that your editing, you can see if its actually saving the values you inputted. Try editing it, save and then view it again with same command.. if your changes aren't there, its just not saving it properly.
Its basic vi commands.. Shift+ZZ or :wq! in command mode should save the changes made.
If you wanted to do quotas at the mail server level you can do it with qmail and vpopmail. Take a look at the guide at: http://www.pipeline.com.au/staff/mbo...ail-server.htm I have different quotas for users and site quotas and everything, very easy to administrate as well
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.