Post the upgrade the email alerts using the "sendemail" commands are not working.
While running the "sendemail" command it gives some errors,
command="sendemail", The email domains of the recipients are not among those on the allowed domain list. while sending mail to: abc@example.comcommand="sendemail", (530, b'5.7.57 Client not authenticated to send mail. [AS4P195CA0039.EURP195.PROD.OUTLOOK.COM 2023-07-25T10:35:23.523Z 08DB887EFF8B2458]', 'abc@hostname.example.com') while sending mail to: abc@example.com
In some cases if you go to Email Settings under Settings -> server settings the page might not be responding.
Workaround:
The recommendation is to upgrade Splunk to a more current version. If upgrading is not an option then the following steps are suggested:
1. Open the file SPLUNK_HOME/etc/apps/search/bin/sendemail.py
2. Find (approximately line number 1571):
clear_password = cli_common.decrypt(encrypted_password, setEnv=True)
3. The setEnv flag needs to be modified from True to False. Save the file.
4. Then restart Splunk.
Then check if the problem is resolved.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |