User details, sent email, how does it work in DA?

ArneK

New member
Joined
Sep 2, 2022
Messages
11
Hi,

My head is spinning because I'm confused how this is working... ?‍?
I have a customer who was already spamming so I limited the amount of emails he can send each day to 20.
That's not a lot but in his case, it's more than enough.

This customer called me because he couldn't send any emails anymore.
I tried to login into DA which did not work: "license is expired"
The license should be valid until 19th of September though.
Because I'm a total nono in this case, OVH didn't help me what so ever, Google was my best friend.

Googling brought me to this post: https://forum.directadmin.com/threads/since-2022-8-26-ertificate-has-expired-centos6-8.66844/
That worked, I could login into DA again... :)

I checked the user details and this confuses me...
This user has a "Maximum Usage" set at 20 on the right side.
What does this "Current Usage" mean? I always thought this is the amount of mails sent out this day...

In this case, it's 20 and it looks like DA is not resetting this the next day.
The same with other users.
The way I understand it works, is that this button "Reset Today" only pops up when the limit has been reached?
Is this the way it works?

The amount between the brackets (Today: 2), is that the amount of emails on top of the maximum sent emails?
When I hit the button "Reset Today", only the amount between the bracket goes away, the 20 on the left side remains.

2-mod.fw.png

I tried testing by adding an extra mail account under the customer's domain.
I send out, I guess, 10 emails.
Details about this user email accounts, says I have only sent 1 email (limit of 5).

1-mod.fw.png

To me it looks like DA is not "updating" or "refreshing" but I could be completely wrong... sorry.

Could someone point be in the right direction please?
Thanks.
 
The amount between the brackets (Today: 2), is that the amount of emails on top of the maximum sent emails?
That would be that 2 mails were send out today, not 20+2 but just 2.
The 20 is the limit set. So 2 out of 20 are send.

As for the appearing of the button I don't know, but normallly with the nightly tally, the daily usage is reset, but ofcourse not the limit of 20 set.

Details about this user email accounts, says I have only sent 1 email (limit of 5).
Yes that could be odd. But the check is not running every minute. If I'm not mistaken it's every hour. There is a thread somewhere which explains how to set it that the counter runs more often. So it might be that after an hour, you would see the limit 5/5.
You can check the mail queue if some mails you send are still residing in there.

So DA does refresh, but that does not happen in realtime. So that might be what is confusing you.
 
Hi Richard,

Thank you for taking the time to answer me... (y)

What do you think about this picture?:

3.png

This is one of my own accounts.
Current Usage says 4 and on the right side at Maximum Usage it says 25/Day.

In my honest opinion, it looks like 4 mails were sent today and the maximum that can be sent on one day is 25.
But, I could be completely wrong here... ;)
But, this 4 mails, in my account, hasn't changed nor reseted.
The same with my customer's account, this 20 (on the left side) just stays.
And, my own limit can't be 4 ...

In my customer's account it says Current Usage 20 (Today: 2) and a limit of 20 and in my own account it says Current Usage of 4 and a limit of 25...
It looks like the amount between the brackets, and the button to reset today, appear when the amount of sent emails on a day has exceeded the limit on the right side.

BTW: We spreken dezelfde taal... :cool:

Thanks,

Kind regards,

Arne
 
Last edited:
Is it correct for me to assume that the "Current Usage" amount is resetted every day?... ?‍?
 
possible you have problem with license failed checking. so some task of Directadmin will stop working until directadmin service back to work normally.

I can't say "all task" because Im not sure "all" or "some" task. but in now day, dataskq task will relay on directadmin service.

maybe just wait a day to makesure it have problem not reset email usage.
 
In my honest opinion, it looks like 4 mails were sent today and the maximum that can be sent on one day is 25.
Yes that's how I see it too.
And now I'm just as confused as you are, because now I don't know anymore what the (+2) means in the first screenshot. The only explanation for that is the one you're giving that the +2 is above the limit set.

LoL I've been looking wrong at the first screenshot, the 20 is not the limit set but the current usage indeed.

BTW: We spreken dezelfde taal... :cool:
Dat vermoeden had ik al aan je naam te zien. ;)

Normally the current usage would indeed be resetted every day by the nightly tally.

Anyway, it should be resetted daily.
 
Last edited:
Thanks jamgames2, thanks Richard... ;)
I will wait and see what happens tomorrow, but to be honest, I haven't got a very good feeling about it...
I just can't wrap my head around it.

Richard, I don't want to be a smart**** but I think you might be wrong concerning the image you posted.
In my opinion, this shows how many email boxes under this user are present, not how many emails were sent out.

Kind regards,

Arne
 
Last edited:
In my opinion, this shows how many email boxes under this user are present, not how many emails were sent out.
OMG... I must be too tired, you're completely right.:sleep:

The comparison is on another page. If you click on the e-mail accounts, then you get an overview of the accounts (indeed 8 in my case) and there also you can see the amount sent, but there it's usage in MB not in pieces send. So that's not good enough

I will remove the incorrect image, thank you!(y)
 
No problem Richard, thank you for your effort trying to solve this issue (y)

Kind regards,

Arne
 
Well, at Sun Sep 4 01:21:21 2022 I made some new DA screenshots...
It looks like things are still not working as it should.

To me it looks like the amount sent emails in one day are not resetted daily.
This is how it looked before the new screenshots:

2-mod.fw.png

And this is the screenshot I took this night:

5.png

When I logged in into DA as user, under email accounts this was how it looked:

1-mod.fw.png

And this is the screenshot I took this night:

4.png

So it looks like this section was resetted though...
DirectAdmin Version: 1.642

Ik hope we can get this working again like it should.
 
To me it looks like the amount sent emails in one day are not resetted daily.
This is how it looked before the new screenshots:
Maybe we both were thinking wrong. Seems it's the monthly total. So that 20 (Today: 2) then is 20 in total this month, and 2 today. So this would explain why the 20 is not reset, and the current usage went up to 25.

When I look in the user overview I see this:
Sent Emails5
from 1000 /day.

Logged in as the user on site statistics is also 5.
Logged in as the user in the email accounts, it's 0/200 wich means 0 sent today.

So it looks as if it's working correctly but we were thinking the wrong way, or am I missing something in your screenshots?
 
idk what it look like in now day, because I stop using that skin long time ago, currently I use Evolution skin.
 
It's still the same as before. I try to go over to Evo by using it some more, but I still like the overview/layout of enhanced skin a lot better. Really takes some getting used to.
 
Thanks jamgames2, thanks Richard... (y)

Richard, do I understand correctly that in your case it looks like this?:

5-mod.fw.png

So you are using the same skin as I do?

It makes me curious what will happen over night and how it looks tomorrow...
Will the 5 emails be resetted?... :rolleyes:
Or are you correct and will they be resetted once a month.


Kind regards,

Arne
 
What I don't understand is this: the button "Reset Today" becomes visable when the amount sent emails for one day has been reached so you can reset it for that day.

Looking at the first image in my post #10, you can see the "Current Usage" of 20 and (Today: 2) AND the "Reset Today" button showing...
Two emails (Today: 2) is not the limit so that makes me think that in this case the limit of 20 was reached and 2 were sent on top of this.
 
It makes me curious what will happen over night and how it looks tomorrow...
Will the 5 emails be resetted?... :rolleyes:
Or are you correct and will they be resetted once a month.
You can see tomorrow. But since the previous screenshot showed 20 (today 2) and the day after it showed 25, imho it's resetted once a month. And current usage is usage up and until today.

Two emails (Today: 2) is not the limit so that makes me think that in this case the limit of 20 was reached and 2 were sent on top of this.
Yes but if I'm correct and it's the usage per moth, then the "Today: 2" is the today usage, with is well within the per day limits.
And the "Reset Today" button should only appear once there are sent messages today. In my hobby domain the current usage is still 5.
I'm just investigating and the "Reset today" button does not appear when only 1 mail is sent today.

Just seen another with 23 sent today, but no "reset today" button. Maybe it only appears as from a certain percentages of the allowed mails? In my case this user is allowed 1000 a day so 23 is not really interesting to reset already.
 
Hi Richard,

I would really appreciate if you can have a look how it works on your server and let me know...(y)
 
Hello Arne.
I'm going to try and find a user which send a lot of mail, because the 23 was not of today, today was 0 sent. But we can have a better look as from tomorrow because then it's a weekday and the company's start mailing again.
However, this 23 messages were not sent today, I just checked the user's mailboxes. They must be a total. I'll have a look at the numbers tomorrow and tuesday for you.
 
Hi Richard,

I think just looking at a user one day and the next tells us a lot.
Have a look at the amount of emails under "Current Usage" one day and then check the same the next day.
When there are less, it was resetted. If it's the same or more than the previous day, you could be right that resetting is once a month.

Do you think this might work or am I wrong?

Kind regards,

Arne
 
Back
Top