Email send limit question

Richard G

Verified User
Joined
Jul 6, 2008
Messages
14,187
Location
Maastricht
A user of mine send 1266 legitimate emails yesterday. However I got an email he ran into the 1000 mails limit.
here have been 1263 outgoing emails yesterday from the johndoe User account.
There could be a spammer, the account could be compromised, or just sending more emails than usual.

This warning was generated because the 1000 email threshold was passed.

Now I wanted to upgrade this to 2000 emails for this user only. So I went into the admin section, list users, selected the user and then saw this:
Sent Emails 1266 unlimited / Day
So the limit says unlimited?

Now I've read this:
https://forum.directadmin.com/showthread.php?t=48907
and this
https://www.directadmin.com/features.php?id=1372
and this
https://help.directadmin.com/item.php?id=514

But I still find it very confusing as how it works when you want to set something above the max 1000 limit.

I want for 1 user, or if possible 1 email address, for him to be able to send 2000 emails per day on one email account, but keep the 1000 limit for all other users (and if possible this users other email accounts).

Is it just a question of changing the "unlimited/Day" for this user via the admin section to "2000/Day" or must there be changed more?

I also seen that I've also got this option when I login as a reseller to my panel. And that's strange because I don't have "reseller_can_set_email_limit=1" in the directadmin.conf file.

Any help and explanation is appreciated.

Edit: I DO have "max_per_email_send_limit=-1 " and "user_can_set_email_limit=1" in directadmin.conf.
 
Last edited:
Hello Richard,

You might need to set max_user_send_limit=2000 in directadmin.conf according to this post Then you will be allowed to set 2000 for your user in Directadmin (note about need to restart directadmin and care about final empty line in directadmin.conf).
 
Hello Alex.

Thank you, but if I use the max_user_send_limit=2000, this will raise the send limit to 2000 for all users doesn't it? That was what confused me.
Or is there still some 1000 limit for the other users in that case?
Or do I need to set the /etc/virtual/limit to 1000 to keep others on max 1000?
 
Sorry but I don't understand that explanation, which still is confusing me.
Where exactlhy is the limit of 1000 kept in place if I set the directmin.conf to 2000 and the /etc/virtual/limit is set to 0 by default?
Because it says in the post you point to:
Or.. if you like to live dangerously, set:
max_user_send_limit=0
Which imho means that this will remove the limit completely for all users.
So setting this to 2000 would set the limit to 2000 for all users as I understand it. Exactly this part is confusing me.

So as I read it from the post from Arieh there, in that case to keep 1000 for all others the /etc/virtual/limit should be set to 1000, which was also a question I posted. Correct? Or... I really get confused here.
 
Last edited:
1000 => /etc/virtual/limit
max_user_send_limit=2000 => directadmin.conf


That's how I understand it. And it should bring you to what you need.
 
Oke that's what I mend, if I change the directadmin.conf limit, I need to change the /etc/virtual/limit too for the other users to keep the 1000 limit. Thank you!
 
Back
Top