Integrated Alerting error to send email

Hi All,

I created monitor rules and tried to test email function. When firing, I couldn’t get email notice. When I check /srv/logs/alertmanager.log in PMM docker. I saw error with “501 5.5.4 invalid domain name”. I posted in attachment.

And then, I telnet email server from docker host and typed “ELHO” with email address. Got the same error. I posted in attachment too.
telnet

Does this mean the “EHLO” isn’t supported by email server? If yes, is there a way to bypass “EHLO”?

Thanks,
Dillon

typically an ehlo (or helo) is just a domain, not an email address…you may be getting an error because the @ symbol is breaking things. usually the ehlo is the hostname of the calling system but that’s not required…try pmmserver.company.com or something (rarely does that ehlo domain have to actually resolve in DNS.

1 Like

Thank for advise. I don’t realize the first screenshott too small to watch logs. I post alertmanager.log file.alertmanager.log (626.0 KB)

In the files, there are a lot of “Notify for alerts failed” message with “send EHLO command: 501 5.5.4 Invalid domain name”. The problem is I can’t get alert email. I’m wondering whether the “EHLO error” cause the problem.

Thanks,
Dillon

1 Like

Per attached alertmanager.log, it looks like the error from Prometheus’ Alertmanager.

So, is it possbile to change log level to debug against PMM Alertmanager so I can see what cause the email sender return “send EHLO command: 501 5.5.4 Invalid domain name”?

Thanks,
Dillon

1 Like

It was fixed. The problem is " Hello" text in settings->communication page.
The hello text is sent to smtp server following the “EHLO” command.

So, we just change the text.

Thanks

1 Like