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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...