Alerting

mails not sent - sendemail:522 - (421, b'4.3.2 Service not active'....

corti77
Contributor

Hi,

I have a saved search link to an action of sending an email for each result. The saved search runs every 5 min.

If I run the search manually I get 5 results but surprisingly I dont get 5 emails. Instead I get a random number of emails each time, never 5. looking at logs using the query 

index=_internal source="C:\\Program Files\\Splunk\\var\\log\\splunk\\python.log" sendemail

I see many ERRORS like

ERROR sendemail:522 - (421, b'4.3.2 Service not active', 'XXXXXXXX') while sending mail to: XXX@yyy

I searched in google without success for the some hints to solve this issue.

But, when I manually connect to each node of the exchange cluster using putty I managed to send emails without any issue .

Any idea of what could I check?

thanks!

 

 

 

Labels (2)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

Well, it looks more like an Exchange issue. I'd check Exchange logs first.

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Well, it looks more like an Exchange issue. I'd check Exchange logs first.

0 Karma

corti77
Contributor

indeed, one node was not working properly. I reconfigure the smtp server in splunk to point to a specific exchange node and that solved the issue.

thanks

 

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...