Maximum credits exceeded

A7U

Verified User
Joined
Feb 14, 2023
Messages
18
I keep getting the error “Maximum credits exceeded” when trying to send mail. The strange thing is:
  • The accounts are not even close to their daily/hourly limits.
  • Nothing shows up in /var/log/exim/mainlog, rejectlog, or paniclog when the error happens.
  • I searched through all Exim configs and can’t even find that phrase anywhere.
  • No smarthosts or external SMTP are set, mail should just go through Exim directly.
So at the moment I just see “Maximum credits exceeded,” but I can’t find where this error is coming from or why it’s not logged in Exim.

Has anyone run into this before, and how can I see the full rejection message instead of only this short error?
 
Tried using swaks, and it worked, so this is quite confusing.
 
This can be a couple of things.
1.) Check your system quota's.
2.) What is your DA version (go to console and type da version to see). Also restart DA to see if that fixes things.
3.) What is swaks? Never mind, lol. If that works it might be system quota's.
 
1.) Check your system quota's.
All fine, fyi emails from other users work perfectly fine (and yes they use the same software to send emails from)
2.) What is your DA version (go to console and type da version to see). Also restart DA to see if that fixes things.
DirectAdmin 1.685 afb67a58a4df61dc4d3b31599fb7e0becb525055. I'll try restarting now.
3.) What is swaks?
https://jetmore.org/john/code/swaks/ smtp testing tool
 
Odd... this error notice is normally a typical Sendgrid notice, not a DA notice as far as I'm aware of. Never seen in on DA itself before yet.
No customisation anywhere?
I see you checked the Exim logs, but did you also have a look at the /var/log/maillog logfile? Maybe that shows something or one of the Directadmin logfiles, although I don't expect those DA logs would show anything, but one never knows.

Are there also unlimited inodes?

As for Swaks I already editted that before, just came into my mind I few seconds after I posted my reply.

Curious if the DA restart helped with this error.
 
Odd... this error notice is normally a typical Sendgrid notice, not a DA notice as far as I'm aware of. Never seen in on DA itself before yet.
No customisation anywhere?
I see you checked the Exim logs, but did you also have a look at the /var/log/maillog logfile? Maybe that shows something or one of the Directadmin logfiles, although I don't expect those DA logs would show anything, but one never knows.

Are there also unlimited inodes?

As for Swaks I already editted that before, just came into my mind I few seconds after I posted my reply.

Curious if the DA restart helped with this error.
Yes it's quite odd, I tried using the SMTP details on a different site to eliminate the factor of it being a script issue, and weirdly there I didn't get THAT error, but I just get an empty error.
I did also check the mainlogs yes, nothing there.
Unlimited yes.
DA restart did not help.
 
So you also get this error when using Roundcube to send a mail, and also a mail client like Thunderbird or Outlook?
If yes, then I'm out of idea's and maybe somebody else has a clue if the DA logs don't say anything and no mail customisations are in place.
 
Another observation I had, on a different domain when I use the SMTP details that aren't working, I tried testing them with wrong configs like wrong smtp protocols, and those would return normal errors.
But here no matter what, it always returns "Maximum credits exceeded"
 
Yeah I feel very dumb, my client running the website had Sendgrid running on it for bulk emails, and it was overriding the SMTP details...
 
Back
Top