Hi,
Having an issue with configuring outgoing email to send. I am trying to use a server to route my email that is not on the same network. It appears to make the connection to the mail server, and then grafana is closing the connection with out sending the email.
When i choose an email on the same network with the exact same config, it works with no issues. I am needing to use the external server, because i am using grafana to monitor the server on the internal network and need to receive alerts when the server is not running.
Error:
t=2019-04-02T11:24:41-0400 lvl=info msg=“Sending alert notification to” logger=alerting.notifier.email addresses=[Bryan.Sockel@MDaemon.com]
t=2019-04-02T11:24:52-0400 lvl=eror msg=“Failed to send alert notification email” logger=alerting.notifier.email error=“write tcp 10.192.253.89:57868->65.99.242.133:465: i/o timeout”
t=2019-04-02T11:24:52-0400 lvl=eror msg=“failed to send notification” logger=alerting.notifier uid= error=“write tcp 10.192.253.89:57868->65.99.242.133:465: i/o timeout”
Email Server Logs:
Tue 2019-04-02 10:24:42.120: [961600] ← EHLO usmanit01.mymdhosted.com
Tue 2019-04-02 10:24:42.121: [961600] Performing IP lookup (usmanit01.mymdhosted.com)
Tue 2019-04-02 10:24:42.124: [961600] * D=usmanit01.mymdhosted.com TTL=(58) A=[213.227.173.189]
Tue 2019-04-02 10:24:42.124: [961600] ---- End IP lookup results
Tue 2019-04-02 10:24:42.125: [961600] EHLO/HELO response delayed 10 seconds
Tue 2019-04-02 10:24:52.125: [961600] → 250-help.mdaemon.com Hello usmanit01.mymdhosted.com [213.227.173.189], pleased to meet you
Tue 2019-04-02 10:24:52.125: [961600] → 250-ETRN
Tue 2019-04-02 10:24:52.125: [961600] → 250-AUTH LOGIN CRAM-MD5 PLAIN
Tue 2019-04-02 10:24:52.125: [961600] → 250-8BITMIME
Tue 2019-04-02 10:24:52.125: [961600] → 250-ENHANCEDSTATUSCODES
Tue 2019-04-02 10:24:52.125: [961600] → 250 SIZE 100000000
Tue 2019-04-02 10:26:04.758: [961600] * Socket error 10054 - Connection was reset by the other side!
Tue 2019-04-02 10:26:04.759: [961600] SMTP session terminated (Bytes in/out: 468/4590)
Grafana SMTP Config:
enabled = True
host = smtp1.mdaemon.com:465
user = email@domain.com
password = **********
skip_verify = True
from_address = email@domain.