Size restrictions

CCSI

Verified User
Joined
Nov 7, 2003
Messages
53
Mailbox restrictions:

When I first purchased a DA server, I created multiple domains with multiple mailboxes for each domain on the server. When creating the email accounts, they defaulted to "0" for its size, and that means unlimited. I left them at the default.

Now, I have a new DA server and I moved all the old domains and emails to it. I noticed just how much disk space these email accounts were taking up and I must admit it was shocking. Take for example people of domain xxxx.com have come and gone, but their email account is still there, and now it is 400 Meg because no one checks it. Anyway, I had to copy that crap over to the new DA server. I have decided that 30 Megs per email address should be more than adequate for my users on all domains. So... I want to go in and change that "0" which means unlimited to 30 on all the email accounts on the DA server. I will do it manually if I have to, but that sounds like a real pain. If any of you know of a way to automate it, I sure would be appreciative.
 
Quota data is stored in the directories in /etc/virtual/
Fastest way would be to create a shell script to do this for your, that would only require you to write the script once.
However, if any new email addresses are added, the quota would default to 0 unless the user set it to something else. However, no matter what you set it to with your script, the user can overide it at anytime through the controlpanel since I don't think you can block users from that feature (at least at this time)
 
My recollection is that the mailboxes are still limited within the user's size limit.

Am I right?

Anyone?

Jeff
 
Correct. No matter what the quota limit is of a particular mailbox, it is still limited by the users account quota.
 
Except that DA will only warn you that the user has gone over his disk quota and that effectively means that there are no restrictions. If a user has 10 Mb of space and an email account quota of 0 (unlimited) and he sends himselfself a 15Mb file the system will accept it even if the user send multiple 15Mb files the system will accept them too.

As server admin (or reseller) you will be mailed only when the quotas are recalculated that the user is using more than his allowed diskspace but the user will not be suspended.

Regards,
Onno Vrijburg
 
Back
Top