Email Quota

matrixx

Verified User
Joined
May 24, 2004
Messages
314
Location
London, UK
Would there be any mileage in having an option of an email quota - not in Mb but in the amount of emails that a user was allowed to send per day?

I'm just trying to think of a way to cut down on spammers abusing the system - any thoughts?
 
Hello,

Yes, we've got that in our exim 4.34. If you get the new rpm, remove the old exim from your system then install the new one, the newer exim.conf will be used. It does support a daily limit (set in the /etc/virtual/limit file). The usage is stored in /etc/virtual/usage. In that directory, will be 2 types of files, username and username.bytes. The "username" file stores the number of emails sent. For each email sent, the letter "1" is appended to the file, so size of the file (in bytes) will exactly represent the number of emails sent. The username.bytes file stores the size of each email send out of the system.

Note that there is not yet a cron job to clear of the usage directory, so you'll need to do that yourself on a daily basis.

Also, it's still beta :)

John
 
Sorry about bumping this old thread.

I see that the email limiting feature is fully implemented now (which is great).

I have 2 points though (at DA 1.26.2): what happens if a user's email limit is reached? Are the subsequent emails be queued for the next day, or are they discarded.

Also, can I see anywhere in the CP how many emails a user has sent, on a historical basis, to help me when he complains his email didn't arrive as he expected. (I know this latter doesn't exist, and while it would be nice to see the # of emails sent, that would be useless for problems found yesterday)
 
You can check it and let us know :) .

Hopefully, if it's implemented properly, what will happen is that exim will send a temporary error, and what happens then is up to the sending server.

That's the way email is supposed to work.

Jeff
 
Back
Top