Hello! All good? My name is Filipe Asaph, work in StorageOne.
I would like to ask you questions about Commvault's "Workflow" tool. I'm trying to send an email in Workflow, but it always gives an error. The error number is 19:857.
Grateful, Filipe Asaph.
Best answer by Carl Manzi
Hi Filipe,
You would need to work with the Exchange admin to determine why the SMTP server is rejecting this connection. It must have some sort of security requirement that’s not being met, but all it’s telling us is bad password.
Have you configured your mail server under Manage > Commcell and does the test email succeed?
If so, it may be because WorkflowEngine tries to talk directly to the SMTP server by default, rather than going through the Commserve. You may need to set sendWorkflowEmailsViaCommserver if the CS is the only server able/allowed to communicate with your SMTP server.
“WorkflowMail : [Email (Email_2)] ERROR: failed to relay email, errorCode [587206208], errorMessage [Failed to send email to SMTP Mail server, please check logs for more details]”
If you increase the debug level on that log to 20, the log should show the entire SMTP “conversation” which will help us determine the source of the error.
From the message you have so far, it’s not clear if Commvault failed to reach the mail server, or if the mail server rejected the connection because it thinks the source or destination are outside of its scope.
One thing I’m seeing a few times in other tickets, verify the From: address is valid in the Email component of the workflow. It’s possible the SMTP server is rejecting the connection if the workflow is sending an invalid From: address.
Also, search the EvMgrS.log for “smtp” and see if you get more details. I believe the actual commands (and responses) used to make the SMTP connection are logged in that file.
I'm now sending SmtpManager.log at debug level 20 as you asked.
Grateful, Filipe
Hi Filipe,
Your SMTP server is rejecting the credentials you’ve provided:
SmtpCmdResp: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [CP6P284CA0025.BRAP284.PROD.OUTLOOK.COM 2024-01-31T18:31:23.140Z 08DC21863B6CFA61] --readSmtpResponse SMTP authentication failed after sending password. Check your username/password or your SMTP server's auth settings
If not a problem with the credentials themselves, it could be that your SMTP server has other requirements that aren’t met.
I noticed this message a couple times, but I don’t know if it would make any difference for this issue:
You would need to work with the Exchange admin to determine why the SMTP server is rejecting this connection. It must have some sort of security requirement that’s not being met, but all it’s telling us is bad password.