Reporting

How to setup an email server

xvxt006
Contributor

Hi,

i have installed splunk on my local which is windows 7. i have installed hmail server and i see that it has host name as localhost and it has username/pwd. I gave those details in the "Email Alert settings" host as localhost and corresponding username password. But i am not getting any emails. Do i need to do anything else?

Tags (1)
0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi xvxt006,

this is not a Splunk problem, your hmail server is not accepting the username/password you're using with sendemail. Please see the hmail server docs how to setup your hmail server.

cheers, MuS

View solution in original post

0 Karma

MuS
SplunkTrust
SplunkTrust

Hi xvxt006,

this is not a Splunk problem, your hmail server is not accepting the username/password you're using with sendemail. Please see the hmail server docs how to setup your hmail server.

cheers, MuS

0 Karma

xvxt006
Contributor

Thank you. i am checking this.

0 Karma

lukejadamec
Super Champion

It looks like you need to check the username and password settings you configured in Splunk email configuration.

xvxt006
Contributor

Thx..here is the log...

Files\Splunk\etc\apps\search\bin\sendemail.py': ERROR:root:(535, 'Authentication failed. Too many invalid logon attempts.') while sending mail to: xvxt006@company.com
02-21-2014 13:21:38.076 -0600 ERROR ScriptRunner - stderr from 'C:\Program Files\Splunk\etc\apps\search\bin\sendemail.py': ERROR:root:Connection unexpectedly closed while sending mail to: xvxt006@company.com
02-21-2014 13:32:38.088 -0600 ERROR ScriptRunner - stderr from 'C:\Program Files\Splunk\etc\apps\search\bin\sendemail.py': ERROR:root:Connection unexpectedly closed while sending

0 Karma

lukejadamec
Super Champion

Check the splunkd log for failures. If there are no failures, then the mail server is not working somehow. If there are errors, then post them.

0 Karma
Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...