Per-User email limit

alphadeity

Verified User
Joined
Jun 16, 2010
Messages
48
On my shared hosting server, I limit user emails to 200/day. I did this by editing /etc/virtual/limit to 200, but my question is how do I change this default limit for a particular user that I trust?

Any help or a point in the right direction would be greatly appreciated.

Thanks,


Edit: oops, I intended to post this in email forum.
 
Last edited:
I found a few threads about this... it doesn't look like DA supports this, but would be a good feature to implement into the software as a per user and per domain basis.

Move to feature request forum?

(Unless I'm mistaken of this features existence)
 
Last edited:
I've moved the thread; it's nowl a Feature Request with the subject Per-User email limit.

Jeff
 
You can

chattr +i /etc/virtual/usage/username

to prevent the file from being incremented and thereby allowing unlimited emails.
 
Thanks for the helpful hint to release the limit for specific users. Would still be a nice feature to add to the admin panel and become an official part of the product.
 
Thanks for the helpful hint to release the limit for specific users. Would still be a nice feature to add to the admin panel and become an official part of the product.

Agreed, does anyone know of the status on this ? Will this be implemented?

Floyd good workaround thanks! but i still would like to be able to set a limit per user.
 
It's not so difficult to tune check_limits in /etc/exim.pl to add a per-user check (with daily and hourly limits).

It's NOT the best way, because your users will get a confusing bounce email with "no route" error within. If you want Exim to give a proper error message, like "Hourly/Daily Limits exceeded", you'd do more work with exim.conf.
 
Last edited:
Back
Top