Separate space for e-mail

Jochems

Verified User
Joined
Apr 11, 2013
Messages
7
Hi,

Last week a customer complaint about a full inbox while he hasn't got that many mail's in his inbox. When I checked the details of his disk usage I saw 50mb of email space and 260mb of webpage data. (the package has 300mb of space).
Now I'm looking for a way to create a guaranteed mailbox size of say 1GB and say, 300mb's of webspace data. But after some searching I came to the conclusion DirectAdmin doesn't has this option :(

for a test I created a new package with 100mb of data and linked it to a testuser. Set the email quota of his email account to 1000mb and after i filled the webspace voor 95% (95MB) I tested if I can send a mail with a attachment of 10MB. Result: mail stays in queue until some space is made free.

Wouldn't it by handy to have an option in the package details:
public_html space: <input> MB
Email space: <input> MB
 
No it should not. Users pay for how much space they are using regardless of what it is. Everything is stored in their home folder so they need to pay for the space. Make them pay for a higher package if they dont have enough space.
 
True, but I think many people who make websites voor customers aren't giving there clients any access to DirectAdmin since there's to much to screw up. Then there is this option in installatron which makes auto-backups every time you update an installed app. Wordpress i.e can take a lot of space for this backup thing, and all this space is taking up precious inbox space.

I don't see why this is not build into DA. It can't be to complicated to build an option to say, after 300mb of webspace data, you can't upload anymore data to your public_html folder.

Another fact is that a client can't see how much data there's left to use if they don't have access to DA. In Roundcube the can see the size of a particular inbox(folder) but not how much space is left (minus the public_html folder data).
 
Actually it can be complicated, since DirectAdmin saves virtual users' email as owned by the site user. Since the site user's maximum space is often enforced by the Operating System (if quotas are enabled, which they usually are by default). Even if DirectAdmin changed how it manages disk space, the limit would still be enforced by the OS.

You'd have to give up OS disk-space quotas and rely only on DirectAdmin nightly quota checking. Presuming you and others are willing to do that, then some rewriting may make is possible for DirectAdmin to manage email address space separately than webspace.

Or perhaps you could use soft links to create IMAP directories on a separate partition, on which you don't use system quotas. You cold implement part of this soution by running a scrapt after virtual email users are created. But DirectAdmin might still need a modification to not warn you when users go over their total limits.

No matter which way it would be implemented, you'd need to also manage how many meailboxes you give clients, or else you could be running out of diskspace rather quickly.

Or you can manage Email separately, on a separate server.

I've made this thread a feature request so we can gauge how many other DirectAdmin usres might be interested.

Jeff
 
True, but I think many people who make websites voor customers aren't giving there clients any access to DirectAdmin since there's to much to screw up.

In this case you'd better change the directadmin account from a regular user to a reseller. So you could create a separate user account for every site. If you do that, you will always control how much space they use, and of course it gives you more security. If you host domains on different accounts, then if even one of WP, Joomla, Drupal, etc site gets hacked, the other sites might stay untouched. But if you hold them in one user account, then a hacker will definitely get access in public_html directories of them and might compromise them as well.
 
@AMzEitEr: All the users are stored on different accounts. But the problem is that some people create a lot of data in there site. Take OpenCart, I'm not controlling every shop running on our VPS and when a client decides to create 5000 items, this may take up al lot of webspace with 5 images of every item. The user has no idea that al this data is decreasing his inbox space.

@ PMnobaloney: Because a user has to ask me for a new email address, I'm in control of al the webspace and since we're running an easy-to-scale-up VPS I'm not worried about diskspace. But I would like to create email packages like 500, 1000, 2000mb's. (Only the sun comes up for free, (a dutch saying ;) )

I was thinking for a solution to make 2 accounts for users who would like a huge inbox, 1 for their website and 1 for their e-mail. But I don't know how to link those accounts because I can only use a domain on one account.

Thanks for the request! I'm really hoping they build it in.
 
I was thinking for a solution to make 2 accounts for users who would like a huge inbox, 1 for their website and 1 for their e-mail. But I don't know how to link those accounts because I can only use a domain on one account.
Create a an account for EXAMPLE.COM and one for mail.EXAMPLE.COM. Then create mailboxes in mail.EXAMPLE.COM and mail forwarders in EXAMPLE.COM.

Jeff
 
Hi Jeff,

I tried this option, but can't get it to work. When I create a new account for mail.example.com the e-mail adres created in this account are then [email protected]. This doesn't work for the client. He just want's [email protected].
Is there another way to do this?
 
This may only be a cosmet problem because the user should be able to set up his email client to send from any address he wants to use. But perhaps not if he's using a webmail client; it would depend on the client and I haven't checked.

And of course incoming email will need to be forwarded.

If this isn't going to work at all we may need to revisit the entire issue.

Jeff
 
Back
Top