email quota

dvnscr

Verified User
Joined
Jun 29, 2009
Messages
39
Hello,

Is there a way to prohibit users to set the email size? Or is there a way to limit quotas to some extent?
For example user comes, clicks create email, and he can create with any amount of mb he wants including unlimited 0.
For example plesk has "Set the mailbox quota", what it does is it limits the amount of mb user can set at max for his mailbox.
 
well i think the mailbox quota is directly depending on account quota, i mean, if he set 0 and he got 150mb account.. the email will never be really unlimited
 
Oh yes it will.
Please first check before thinking, sir.
I have an account which has 500MB disk quota.
while email goes up 2GB and still goes further and will go further because DA has no means of limiting it.
 
Oh yes it will.
Please first check before thinking, sir.
I have an account which has 500MB disk quota.
while email goes up 2GB and still goes further and will go further because DA has no means of limiting it.
DirectAdmin limits email by quota only if the underlying OS has quotas turned on for the partition in which your mail is stored.

Generally this problem indicates that either email is stored in a partition which doesn't have quotas enabled (for example if you're still using mbox to store your email) or if quota support isn't installed for your OS distribution.

Jeff
 
DirectAdmin limits email by quota only if the underlying OS has quotas turned on for the partition in which your mail is stored.

Generally this problem indicates that either email is stored in a partition which doesn't have quotas enabled (for example if you're still using mbox to store your email) or if quota support isn't installed for your OS distribution.

Jeff
I don't think this is correct. Exim is checking the quota and defers the delivery if the mailbox is full, whether your OS has quota enabled or not.
 
I'm probably wrong. Here's the virtual_localdelivery transport in my latest exim.conf file:
Code:
virtual_localdelivery:
  driver = appendfile
  create_directory
  delivery_date_add
  directory_mode = 770
  envelope_to_add
  directory = /home/${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}/imap/${domain}/${local_part}/Maildir
  maildir_format
  group = mail
  mode = 660
  return_path_add
  user = "${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}"
  quota = ${if exists{/etc/virtual/${domain}/quota}{${lookup{$local_part}lsearch*{/etc/virtual/${domain}/quota}{$value}{0}}}{0}}
So I suppose we must ask the original poster for a copy of his virtual_localdelivery transport, so we may compare.

Jeff
 
well, companies like gmail, yahoomail, etc... provide some limited amount of mb's in attachment. Example gmail provide only 10 mb attachment facilities.
 
well, companies like gmail, yahoomail, etc... provide some limited amount of mb's in attachment. Example gmail provide only 10 mb attachment facilities.

That is a different issue than what is being discussed here.
 
It is the same exim.conf i am using as you are jlasman, sir.
Most likely not, unless you've broken into the system which actually handles my email; I make updates and changes almost every day, to test various changes/additions to the RC exim.conf file :).

Jeff
 
Back
Top