Alerting

Splunk server doesn't send emails

Tom1187
Path Finder

hi,
I have a problem - my splunk server isn't sending any alert emails.
Here are some details:
I have 2 splunk servers. Both use splunk 6.2, and both run on windows server 2012.
there is no cluster between them, but both are supposed the be the same.
Now that's the fun part- one the the servers is sending mails, and the other one not.

I have searched the python log using this search:

index=_internal source=*python.log* 

and I found this error message:

"Sendmail:348 - (421, '4.3.2 service not available, closing transmission channel') while sending mail to ...."

Google suggested that the smtp server is blocking the server's request, but I cant understand why. Both servers are requesting the same smtp server using the same default port, both are sending email to the same mail address, both servers are in the same domain.
The only thing I can think of- maybe the domain user that run splunk is different? is there anyway to check this?

Do you have any ideas how to solve this problem? There are some importent alerts that i'm missing every day because of this.
Thanks!

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi Tom1187,
did you verified that:

  • route between Splunk Server and email server is open on the used port (try using telnet);
  • email configuration is ok [Settings -- Server Settings -- eMail Seetings]:
    • mail host,
    • email security
    • username and password of a service user.
  • eMail attachment doesn't exceed dimensions.

Bye.
Giuseppe

View solution in original post

meghasingh
Engager

I am facing the same issue. My email settings are fine. The Telnet works well. It says Mail service ready.
There are no errors on the python logs too. But, we are not receiving emails.

2018-05-09 13:16:31,005 -0000 INFO sendemail:1134 - sendemail pdfgen_available = 1
2018-05-09 13:16:31,036 -0000 INFO sendemail:1268 - sendemail:mail effectiveTime=None
2018-05-09 13:16:40,089 -0000 INFO sendemail:1288 - Generated PDF for email
2018-05-09 13:16:44,147 -0000 INFO sendemail:134 - Sending email. subject="ErrorSummary", results_link="None", recipients="[u'XXXX@accenture.com']", server="xxxxx.smtp.accenture.com:25"

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi Tom1187,
did you verified that:

  • route between Splunk Server and email server is open on the used port (try using telnet);
  • email configuration is ok [Settings -- Server Settings -- eMail Seetings]:
    • mail host,
    • email security
    • username and password of a service user.
  • eMail attachment doesn't exceed dimensions.

Bye.
Giuseppe

Tom1187
Path Finder

Hi, the email configurations was fine, but turns out the problem was with the smtp that blocked my requests.
I found that using the telnet command, as you suggested.
Thanks you!

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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...