PDA

View Full Version : Mailbox Default Limit



hci
06-18-2004, 12:43 PM
How do I make it so by default each user has a max of 50Mbyte of disk space/quotta? I know I can simply type it in each time but I would need to remember to do that and I am known to forget.

And out of curiosity what happens when quotta is exceded on a mailbox? One of the biggest gripes we have with the RAQ550 is when a user goes over quotta they get no warning and cannot even log into there account to empty it.

Matt

DirectAdmin Support
06-20-2004, 02:15 PM
Hello,

You could set the default by editing the skin and changing the default values set by the html.

If a quota is reached, exim will bounce the email back to the sender. Exim does have the functionality to send a warning message at a certain percentage if you want it, but I don't believe it's setup by default (not too hard to add). Since the email quotas are enforced only by exim, pop/imap should never be affected when the email is being downloaded with a full quota.

John

hci
06-21-2004, 09:59 AM
You could set the default by editing the skin and changing the default values set by the html.

Where would I find that at?


If a quota is reached, exim will bounce the email back to the sender. Exim does have the functionality to send a warning message at a certain percentage if you want it, but I don't believe it's setup by default (not too hard to add). Since the email quotas are enforced only by exim, pop/imap should never be affected when the email is being downloaded with a full quota.

I could not find such a setting in exim.conf etc. Could you tell me where it would be?

I think having default email user quottas is critical. One email user with a mbox flooded full could bring down an entire reseller account or domain else. I think its better that they just kill there own email address rather then everyones.

Matt

DirectAdmin Support
06-21-2004, 01:30 PM
Hello,

Skins are found in /usr/local/directadmin/data/skins/*
See http://www.directadmin.com/skins.html

The email quota settings are closer to the bottom of the /etc/exim.conf file:


virtual_localdelivery:

...
quota = ${if exists{/etc/virtual/${domain}/quota}{${lookup{$local_part}lsearch*{/etc/virtual/${domain}/quota}{$value}{0}}}{0}}
If you want a set limit for everyone, you could change it to:

quota = 50M
quota_warn_threshold = 75%

Where the 75% can be added if you want to give them a warning that their inbox will be filled.

John