Failed to send test alert, the receiver timed out

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?
    I am trying to configure grafana to send alerts by mail using gmail on a new server.

  • How are you trying to achieve it?
    Using the same configuration I am have used for smtp on my old server on grafana V9.

  • What happened?
    I am always getting an error message: Failed to send test alert: the receiver timed out, failed to send notification to email addrees, dial tcp [2a00:1450:4013:c1a::1b]:587 i/o timeout

  • Can you copy/paste the configuration(s) that you are having problems with?
    enabled = true
    host =
    user =
    password = xxx
    ;cert_file =
    ;key_file =
    ;skip_verify = true
    from_address =
    from_name = Grafana
    ;ehlo_identity =
    startTLS_policy = MandatoryStartTLS

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    The above message is shown in the UI.

The gmail acoount is using 2FA and I have generated an app password for it. On my google security I can see, that this password so far has not been used. On the same server I am also running a sendmail configuration to the same gmail account and using sendmail I have no problems in sending a mail.

Looking forward for any help on this issue.


I had it running fine using these:


skip_verify = true

Hi, unfortunately this does not change anything.