External SMTP Setup for one account
one of my dedicated server hosted with 200+ accounts and one account have whmcs. in this whmcs account i need to configure external smtp(google workspace). But now its throwing error
It was working fine on old server. this error happened on this new server. How to fix this.?? Already shooted one ticket to whmcs and got the following reply.
Please ensure that external SMTP connections are permitted in your new sever configuration:
| SMTP Debug: SMTP Error: Could not authenticate. |
-
The setting is in WHM -> Server Configuration -> Tweak Settings -> Mail -> Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak). Also if you use CSF it might be blocked there. 0 -
Hey there! If your server uses CSF, you would also want to check to ensure that SMTP_BLOCK is disabled in the CSF configuration, as both that setting or SMTP Restrictions would prevent your WHMCS script from sending mail via Google Workspace. As @quietFinn mentioned, you can also enable/disable SMTP Restrictions via WHM > Tweak Settings > "Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)" (or through WHM > SMTP Restrictions). 0 -
If CSF is used I'd advise to set Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak) => OFF, and in CSF SMTP_BLOCK => ON, and then add the WHMCS user to SMTP_ALLOWUSER. 0 -
Not using csf. only imunify360 installed. 0
Please sign in to leave a comment.
Comments
4 comments