SOLVED 451 temporary local problem

Mads Nordholm

Active Member
Jun 7, 2015
26
2
3
Thailand
cPanel Access Level
Root Administrator
Out of nowhere, one of our clients (they have their own cPanel install which we manage for them) started getting this error:

Server error: '451 temporary local problem - please try later'
The Exim log shows this:

2017-08-28 10:46:15 H=(example.com) [10.0.0.1]:64321 X=TLSv1:ECDHE-RSA-AES256-SHA:256 CV=no F=<[email protected]> A=dovecot_login:[email protected] temporarily rejected RCPT <[email protected]>: failed to expand ACL string "${perl{domain_has_outgoing_mail_suspended}{$sender_address_domain}}": Undefined subroutine &main::domain_has_outgoing_mail_suspended called.
I have searched high and low for an explanation to what that error message in the mail log means, but I haven't been able to find anything useful at all. Does anybody have any clues? In fairness, I don't even know if this error message in the exim log is related to the issue, but it's the only thing I can find in the exim log that even remotely looks like it could be related.

I should also mention that I have tried multiple different suggestions found on this forum (suspend/unsuspend, set mail exchanger to local etc.), but nothing has worked so far.
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

Do you have outgoing mail suspended for this account? This is what the below log is suggesting:
"Undefined subroutine &main::domain_has_outgoing_mail_suspended called"

Check the email account that is being attempted to be logged in.
 

Mads Nordholm

Active Member
Jun 7, 2015
26
2
3
Thailand
cPanel Access Level
Root Administrator
Yeah, I also gathered as much, but I don't see how it would get suspended (and I don't know how to check), as the domain is running on a package with absolutely no limitations.
Also, I did run this command just in case: whmapi1 unsuspend_outgoing_email user=$USER
That didn't solve the issue either.
 

SysSachin

Well-Known Member
Aug 23, 2015
604
49
28
India
cPanel Access Level
Root Administrator
Twitter
I also gathered as much, but I don't see how it would get suspended (and I don't know how to check),
On the far right of each email account listed is a menu, on it, Suspend, Suspend Login and Suspend Incoming Mail, are shown.

Also, Please make the domain is in /etc/localdomains or /etc/remotedomains
 

Mads Nordholm

Active Member
Jun 7, 2015
26
2
3
Thailand
cPanel Access Level
Root Administrator
Domain is in /etc/localdomains

I didn't even think about checking the suspension status from cPanel, because I usually access everything from within WHM. However, I tried to check via cPanel and ran into an error that meant the list of email accounts for the domain would not even render. Think I will have to get cPanel support on this.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
However, I tried to check via cPanel and ran into an error that meant the list of email accounts for the domain would not even render.
Hello,

Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here and we will update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

To update, this issue was solved by running the following command:

Code:
/scripts/mailperm
This repopulated some missing domain names in the /etc/localdomains file.

Thank you.