On Monday, November 12, 2001, at 12:30 PM, Edward Jakosalem wrote: > > Hello. > I'm running vpopmail 5.0 on a qmail 1.03 RHL 6.2 machine. > I've set vpopmail's hardquota to 3MB. I created one user and set its > quota > (via vsetuserquota) to 1MB. Why was this account still able to receive > mail > when I sent a 1.5MB attachment? I tried resending the same file and it > still went through. How should setting quotas correctly done? > Thanks for any help!
What does the output of vuserinfo say about the quota? It's good to verify that you set it correctly. The only possible syntax to make it work for your situation is: vsetuserquota email_address 1000000 vsetuserquota email_address 1MB vsetuserquota email_address 1000KB Also, keep in mind that once a user is over quota, messages smaller than 1K can still go through. I know that this idea was to allow administrators to notify a user they are over quota, but I think a better idea is to disable the "allow 1K messages" functionality and instead automate a "you're now over quota, delete some stuff" kind of message that could be domain specific. I know at least one other person has tried to patch this, but I intend to implement my own version based on Mr. Sam's deliverquota code that would work with both vpopmail quotas and maildirquotas. Regards, Bill Shupp