# \#smtp

**URL:** https://community.grafana.com/tag/smtp/189.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [Rootless Podman + Grafana + SMTP Failed to send test alert.: failed to send email: EOF](https://community.grafana.com/t/rootless-podman-grafana-smtp-failed-to-send-test-alert-failed-to-send-email-eof/159639)

<div class="topic-metadata">

**Author:** [@hemu8sharma](https://community.grafana.com/u/hemu8sharma)\
**Replies:** 1\
**Last updated:** [November 30, 2025, 9:01pm UTC](https://community.grafana.com/t/rootless-podman-grafana-smtp-failed-to-send-test-alert-failed-to-send-email-eof/159639 "2025-11-30T21:01:30Z")

</div>

Hi All, I have run into an interesting situation. (names changed) Grafana 12.0.0 in a rootless podman container. There is a remote smtp server on another node. podman run -d -it --name=my\_lab-grafana …

---

## [Alert Contact SMTP Timeouts](https://community.grafana.com/t/alert-contact-smtp-timeouts/157343)

<div class="topic-metadata">

**Author:** [@jensho](https://community.grafana.com/u/jensho)\
**Replies:** 3\
**Last updated:** [September 23, 2025, 9:39pm UTC](https://community.grafana.com/t/alert-contact-smtp-timeouts/157343 "2025-09-23T21:39:35Z")

</div>

Grafana v12.1.1 (df5de8219b) Red Hat Enterprise Linux 8.10 (Ootpa) Hello, I am trying to switch alerting emails to a new secure company SMTP server, but when trying to send a test email for the contact point, I am get…

---

## [Configuration grafana.ini](https://community.grafana.com/t/configuration-grafana-ini/152388)

<div class="topic-metadata">

**Author:** [@krzysztofkondzielatu](https://community.grafana.com/u/krzysztofkondzielatu)\
**Replies:** 2\
**Last updated:** [June 16, 2025, 2:00pm UTC](https://community.grafana.com/t/configuration-grafana-ini/152388 "2025-06-16T14:00:37Z")

</div>

I use Grafana v12.0.1 on windows and I have a problem with configuring the grafana.ini file. When installing, the grafana.ini file was not in the C:\\Program Files\\GrafanaLabs\\grafana\\conf folder. I copied the sample.ini …

---

## [SMTP config in defaults.ini](https://community.grafana.com/t/smtp-config-in-defaults-ini/147634)

<div class="topic-metadata">

**Author:** [@chembakayalabharath](https://community.grafana.com/u/chembakayalabharath)\
**Replies:** 4\
**Last updated:** [April 3, 2025, 5:29am UTC](https://community.grafana.com/t/smtp-config-in-defaults-ini/147634 "2025-04-03T05:29:31Z")

</div>

Hello team, We want to delete the root policy which we are not able to do. We want to disable the smtp in defaults.ini file. I disabled the whole smtp config and smtp enabled = false but both are not working. Restarti…

---

## [OAuth-Authentification for E-Mail-Alerting](https://community.grafana.com/t/oauth-authentification-for-e-mail-alerting/75777)

<div class="topic-metadata">

**Author:** [@karakalaustria](https://community.grafana.com/u/karakalaustria)\
**Replies:** 8\
**Last updated:** [February 7, 2025, 9:04pm UTC](https://community.grafana.com/t/oauth-authentification-for-e-mail-alerting/75777 "2025-02-07T21:04:20Z")

</div>

As Microsoft is disabling the “old” smtp-Authentification for Office 365 accounts I would like to know, how I can configure Grafana to use OAuth2 for SMTP-Authentification. Nowhere in the documentation or in the communi…

---

## [Tls: first record does not look like a TLS handshake](https://community.grafana.com/t/tls-first-record-does-not-look-like-a-tls-handshake/136546)

<div class="topic-metadata">

**Author:** [@devops\_guy](https://community.grafana.com/u/devops_guy)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 8:57am UTC](https://community.grafana.com/t/tls-first-record-does-not-look-like-a-tls-handshake/136546 "2024-11-18T08:57:29Z")

</div>

What Grafana version and what operating system are you using? Grafana Docker v11.2.0 - RHEL server Want to send alert through email. This is my SMTP configuration in grafana.ini smtp: enabled: true host: smtp.prod.…

---

## [Encrypt password in grafana.ini for SMTP](https://community.grafana.com/t/encrypt-password-in-grafana-ini-for-smtp/134876)

<div class="topic-metadata">

**Author:** [@nuwankarunapala](https://community.grafana.com/u/nuwankarunapala)\
**Replies:** 0\
**Last updated:** [October 23, 2024, 10:34am UTC](https://community.grafana.com/t/encrypt-password-in-grafana-ini-for-smtp/134876 "2024-10-23T10:34:36Z")

</div>

I need to Encrypt the SMTP password in the grafana.ini file due to company policy. Is there a way to do this?

---

## [SMTP configuration using internal postfix relay not working](https://community.grafana.com/t/smtp-configuration-using-internal-postfix-relay-not-working/127113)

<div class="topic-metadata">

**Author:** [@jywhite1](https://community.grafana.com/u/jywhite1)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 5:06pm UTC](https://community.grafana.com/t/smtp-configuration-using-internal-postfix-relay-not-working/127113 "2024-07-25T17:06:04Z")

</div>

We are deploying Grafana using a helm chart into EKS. Everything seems to be working and have OpsGenie set as a contact point so that alerts are routed to our on-call resource. I am trying to set up Email as a secondary…

---

## [Grafana SMTP configuration failing with unencrypted connection](https://community.grafana.com/t/grafana-smtp-configuration-failing-with-unencrypted-connection/72875)

<div class="topic-metadata">

**Author:** [@SarvaBhowma](https://community.grafana.com/u/SarvaBhowma)\
**Replies:** 4\
**Last updated:** [June 25, 2024, 6:47pm UTC](https://community.grafana.com/t/grafana-smtp-configuration-failing-with-unencrypted-connection/72875 "2024-06-25T18:47:30Z")

</div>

Hi Team, I am using grafana 9.0.4 on the container and trying to configure the SMTP to send the alerts over email. For the same, i have passed the required field and created my own container from grafana 9.0.4 version. …

---

## [Custom MAIL FROM domain](https://community.grafana.com/t/custom-mail-from-domain/119981)

<div class="topic-metadata">

**Author:** [@kisvsoptim](https://community.grafana.com/u/kisvsoptim)\
**Replies:** 1\
**Last updated:** [April 29, 2024, 7:30pm UTC](https://community.grafana.com/t/custom-mail-from-domain/119981 "2024-04-29T19:30:13Z")

</div>

Hello! We are sending email alerts from Grafana Cloud via the preconfigured smtprelay:2525 smarthost, using alerts@subdomain.grafana.net as the from address. We are experiencing the issue, that the mails are being flagg…

---

## [Failed to send test email using SMTP](https://community.grafana.com/t/failed-to-send-test-email-using-smtp/120547)

<div class="topic-metadata">

**Author:** [@nishakurur](https://community.grafana.com/u/nishakurur)\
**Replies:** 2\
**Last updated:** [April 29, 2024, 5:22pm UTC](https://community.grafana.com/t/failed-to-send-test-email-using-smtp/120547 "2024-04-29T17:22:54Z")

</div>

Grafana docker instance (v 9.3) is installed on Azure cloud and is being configured to send alerts as email to a particular user in our domain. For this reason, we created an email id (MS exchange server) in our domain …

---

## [SMTP send fails](https://community.grafana.com/t/smtp-send-fails/120402)

<div class="topic-metadata">

**Author:** [@mallo321123](https://community.grafana.com/u/mallo321123)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 11:20pm UTC](https://community.grafana.com/t/smtp-send-fails/120402 "2024-04-26T23:20:05Z")

</div>

Hey there, i have Grafana running on my Server, and its working great so far. I want to configure a SMTP acount for it, so it can send me a mail if any alarm roule goes off. I have registered a mail adress at Hezner (i…

---

## [SMTP not configured, check your grafana.ini config file’s \[smtp\] section](https://community.grafana.com/t/smtp-not-configured-check-your-grafana-ini-config-file-s-smtp-section/117919)

<div class="topic-metadata">

**Author:** [@rakshappperfect](https://community.grafana.com/u/rakshappperfect)\
**Replies:** 13\
**Last updated:** [March 27, 2024, 10:32am UTC](https://community.grafana.com/t/smtp-not-configured-check-your-grafana-ini-config-file-s-smtp-section/117919 "2024-03-27T10:32:49Z")

</div>

Greetings!! I am using grafana for sending email alerts and getting above mentioned error while testing contact points, below attached is custom.ini file, how can i setup these configs for my system, what are the change…

---

## [Unable to send email from grafana](https://community.grafana.com/t/unable-to-send-email-from-grafana/117434)

<div class="topic-metadata">

**Author:** [@satheshs22](https://community.grafana.com/u/satheshs22)\
**Replies:** 0\
**Last updated:** [March 20, 2024, 7:30am UTC](https://community.grafana.com/t/unable-to-send-email-from-grafana/117434 "2024-03-20T07:30:15Z")

</div>

Hi, We have installed grafana in Azure AKS using Helm version 10.3.3. All the pods are stable and running. Able to access the grafana page successully. Now we are unable to send the emails from grafana, we have added t…

---

## [Configure SMTP in Grafana Docker](https://community.grafana.com/t/configure-smtp-in-grafana-docker/114460)

<div class="topic-metadata">

**Author:** [@erovira](https://community.grafana.com/u/erovira)\
**Replies:** 2\
**Last updated:** [February 14, 2024, 12:41pm UTC](https://community.grafana.com/t/configure-smtp-in-grafana-docker/114460 "2024-02-14T12:41:29Z")

</div>

Hello, I have the Grafana docker image running it with docker-compose. I would like to configure the SMTP server in the file /etc/grafana/grafana.ini. Has anyone done it? what options do i have I have tried: I have a…

---

## [SMTP configuration with SES and AWS role](https://community.grafana.com/t/smtp-configuration-with-ses-and-aws-role/112462)

<div class="topic-metadata">

**Author:** [@unsecuredcreds](https://community.grafana.com/u/unsecuredcreds)\
**Replies:** 2\
**Last updated:** [January 23, 2024, 8:27am UTC](https://community.grafana.com/t/smtp-configuration-with-ses-and-aws-role/112462 "2024-01-23T08:27:53Z")

</div>

Hey, I have a self hosted grafana and I want to set the smtp with a role and not with hardcoded user/pass is it possible? if not from the SMTP configuration so from another block perhaps? thanks

---

## [Setup SMTP with Gmail](https://community.grafana.com/t/setup-smtp-with-gmail/85815)

<div class="topic-metadata">

**Author:** [@garywallace](https://community.grafana.com/u/garywallace)\
**Replies:** 3\
**Last updated:** [November 23, 2023, 7:40pm UTC](https://community.grafana.com/t/setup-smtp-with-gmail/85815 "2023-11-23T19:40:41Z")

</div>

Hi all, I’m trying to setup alerting by having Grafana send emails through the Gmail SMTP. I run Grafana in docker so I setup SMTP using in a dockerfile: - GF\_SMTP\_ENABLED=true - GF\_SMTP\_HOST=smtp.gmail.com:587 …

---

## [Email alert i/o timeout error dial tcp missing receiver missing group labels](https://community.grafana.com/t/email-alert-i-o-timeout-error-dial-tcp-missing-receiver-missing-group-labels/84848)

<div class="topic-metadata">

**Author:** [@jlltkafka](https://community.grafana.com/u/jlltkafka)\
**Replies:** 3\
**Last updated:** [November 9, 2023, 9:09am UTC](https://community.grafana.com/t/email-alert-i-o-timeout-error-dial-tcp-missing-receiver-missing-group-labels/84848 "2023-11-09T09:09:08Z")

</div>

I’m getting the following error when trying to send a Test email notification from my RHEL 8 (Linux) sever. Installed Prometheus and Grafana as services (instead of using Docker images) using YUM repository installation.…

---

## [Failed to send test alert, the receiver timed out](https://community.grafana.com/t/failed-to-send-test-alert-the-receiver-timed-out/92050)

<div class="topic-metadata">

**Author:** [@torsten67](https://community.grafana.com/u/torsten67)\
**Replies:** 2\
**Last updated:** [July 26, 2023, 12:29pm UTC](https://community.grafana.com/t/failed-to-send-test-alert-the-receiver-timed-out/92050 "2023-07-26T12:29:05Z")

</div>

What Grafana version and what operating system are you using? V10.0.2 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 a…

---

## [SMTP Error in Grafana Alerting: Failed Notifications and Authentication Issues (How to Authenticate SMTP without Password)](https://community.grafana.com/t/smtp-error-in-grafana-alerting-failed-notifications-and-authentication-issues-how-to-authenticate-smtp-without-password/88467)

<div class="topic-metadata">

**Author:** [@aravindapks](https://community.grafana.com/u/aravindapks)\
**Replies:** 0\
**Last updated:** [May 27, 2023, 9:17pm UTC](https://community.grafana.com/t/smtp-error-in-grafana-alerting-failed-notifications-and-authentication-issues-how-to-authenticate-smtp-without-password/88467 "2023-05-27T21:17:27Z")

</div>

I attempted to send alerts using Grafana but encountered an SMTP error. Here is the SMTP configuration from the Grafana Helm Chart (version 6.54.0) and SMTP host (Microsoft ESMTP MAIL Service) grafana.ini: smtp: enabled…

---

## [IPv6 on Grafana as SMTP server](https://community.grafana.com/t/ipv6-on-grafana-as-smtp-server/76691)

<div class="topic-metadata">

**Author:** [@pinchu](https://community.grafana.com/u/pinchu)\
**Replies:** 14\
**Last updated:** [April 20, 2023, 12:06pm UTC](https://community.grafana.com/t/ipv6-on-grafana-as-smtp-server/76691 "2023-04-20T12:06:46Z")

</div>

We are using IPv6 in our infrastructure. Everything is working fine including Grafana. Only problem we are facing is unable to input IPv6 as SMTP server in Grafana.ini We already tried with all the combination that work…

---

## [Error while configuring Grafana Loki SMTP with AWS SES](https://community.grafana.com/t/error-while-configuring-grafana-loki-smtp-with-aws-ses/79974)

<div class="topic-metadata">

**Author:** [@giridhar0813](https://community.grafana.com/u/giridhar0813)\
**Replies:** 1\
**Last updated:** [January 19, 2023, 9:43am UTC](https://community.grafana.com/t/error-while-configuring-grafana-loki-smtp-with-aws-ses/79974 "2023-01-19T09:43:57Z")

</div>

Below is the helm chart values configuration I am using to setup Grafana Loki smtp settings smtp: enabled: true host: email-smtp.eu-central-1.amazonaws.com:587 startTLS\_policy: MandatoryStartTLS user: AKIXXXXXXXXXXX…

---

## [Unnable to send email with TLS and SMTP](https://community.grafana.com/t/unnable-to-send-email-with-tls-and-smtp/79653)

<div class="topic-metadata">

**Author:** [@fbzyx](https://community.grafana.com/u/fbzyx)\
**Replies:** 0\
**Last updated:** [January 13, 2023, 11:30am UTC](https://community.grafana.com/t/unnable-to-send-email-with-tls-and-smtp/79653 "2023-01-13T11:30:55Z")

</div>

Hello, I have tried to configure Grafana to send emails over TLS. I have configured the necessary SMTP fields according to the configuration documentation… I am using Grafana v9.3.2 inside docker. My configuration is …

---

## [Can we intergrate a MFA Enabled Email account in Grafana SMTP](https://community.grafana.com/t/can-we-intergrate-a-mfa-enabled-email-account-in-grafana-smtp/78011)

<div class="topic-metadata">

**Author:** [@nishantketu51](https://community.grafana.com/u/nishantketu51)\
**Replies:** 1\
**Last updated:** [December 14, 2022, 2:53pm UTC](https://community.grafana.com/t/can-we-intergrate-a-mfa-enabled-email-account-in-grafana-smtp/78011 "2022-12-14T14:53:49Z")

</div>

What Grafana version and what operating system are you using? 9.0.1 & Ubuntu OS What are you trying to achieve? Intergrate a MFA Enabled Email account in Grafana SMTP How are you trying to achieve it? Lookin…

---

## [Grafana in Docker, SMTP notification failure](https://community.grafana.com/t/grafana-in-docker-smtp-notification-failure/68201)

<div class="topic-metadata">

**Author:** [@spectator](https://community.grafana.com/u/spectator)\
**Replies:** 24\
**Last updated:** [November 14, 2022, 9:14pm UTC](https://community.grafana.com/t/grafana-in-docker-smtp-notification-failure/68201 "2022-11-14T21:14:24Z")

</div>

Hi, I am trying to get e-mail notifications working. I am currently working with Grafana 8.4.3 in a Docker container, where Docker runs within wsl2 on Windows 10. To make my SMTP notifications work I configured the gr…

---

## [\[Grafana 8\] \[Unified Alerting\] Email notification template redifinition](https://community.grafana.com/t/grafana-8-unified-alerting-email-notification-template-redifinition/60236)

<div class="topic-metadata">

**Author:** [@whatsupbros](https://community.grafana.com/u/whatsupbros)\
**Replies:** 6\
**Last updated:** [November 2, 2022, 9:09am UTC](https://community.grafana.com/t/grafana-8-unified-alerting-email-notification-template-redifinition/60236 "2022-11-02T09:09:27Z")

</div>

What Grafana version and what operating system are you using? Grafana v8.3.4 on Linux RPM What are you trying to achieve? I need to redefine the standard “Email notification” template for Unified Alerting within G…

---

## [Possibility to use OAuth tokens under \[SMTP\] section in grafana.ini (for Gmail)?](https://community.grafana.com/t/possibility-to-use-oauth-tokens-under-smtp-section-in-grafana-ini-for-gmail/72208)

<div class="topic-metadata">

**Author:** [@nobigmic](https://community.grafana.com/u/nobigmic)\
**Replies:** 2\
**Last updated:** [September 13, 2022, 6:38am UTC](https://community.grafana.com/t/possibility-to-use-oauth-tokens-under-smtp-section-in-grafana-ini-for-gmail/72208 "2022-09-13T06:38:36Z")

</div>

Hello, We have recently migrated our mail to gmail and the ‘forgot password’ utility stopped sending emails due to Grafana not being able to authenticate with gmail. The previous smtp provider accepted simple user and p…

---

## [Sending emails fails](https://community.grafana.com/t/sending-emails-fails/65143)

<div class="topic-metadata">

**Author:** [@iluanna](https://community.grafana.com/u/iluanna)\
**Replies:** 5\
**Last updated:** [September 10, 2022, 11:45pm UTC](https://community.grafana.com/t/sending-emails-fails/65143 "2022-09-10T23:45:52Z")

</div>

Hi, I’m trying to send alert notification via email and unfortunatly it failes. I have grafana and SMTP servers running in docker containers. Docker-compose looks like this: version: '3.9' services: grafana: image…
