vitobotta / velero-notifications

A simple Kubernetes controller to receive Slack/email/webhook notifications for Velero backups
MIT License
30 stars 8 forks source link

not sending email #5

Open gcasali01 opened 1 year ago

gcasali01 commented 1 year ago

Hi, I have a general smtp relay on port 25 without tls and no authentication , but setting up with notification via email I don't see smtp notification in the logs : --set email.enabled=true \ --set email.failures_only=false \ --set email.smtp.host= \ --set email.smtp.port=25 \ --set email.smtp.username=test \ --set email.smtp.password=test \ --set email.from_address= \ --set email.to_address= \ logs I see only INFO logs of backup completed : 2023-10-23T09:09:23.305209Z INFO - Watching backups from resource version 15316606 2023-10-23T09:09:23.308743Z INFO - [Velero] Backup test-cluster-bkp-202310231102 Completed ✅ 2023-10-23T09:10:23.332620Z INFO - kube.transport: GET /api/v1/namespaces/velero/configmaps/backups-last-resource-version => HTTP OK in 00:00:00.018671003s 2023-10-23T09:10:23.332657Z INFO - Watching backups from resource version 15316606 2023-10-23T09:10:23.335955Z INFO - [Velero] Backup test-cluster-bkp-202310231102 Completed ✅ 2023-10-23T09:11:23.363894Z INFO - kube.transport: GET /api/v1/namespaces/velero/configmaps/backups-last-resource-version => HTTP OK in 00:00:00.020082826s 2023-10-23T09:11:23.363919Z INFO - Watching backups from resource version 15316606 2023-10-23T09:11:23.367585Z INFO - [Velero] Backup test-cluster-bkp-202310231102 Completed ✅ 2023-10-23T09:12:23.394895Z INFO - kube.transport: GET /api/v1/namespaces/velero/configmaps/backups-last-resource-version => HTTP OK in 00:00:00.026105113s 2023-10-23T09:12:23.394933Z INFO - Watching backups from resource version 15316606 2023-10-23T09:12:23.398321Z INFO - [Velero] Backup test-cluster-bkp-202310231102 Completed ✅

ggogel commented 2 months ago

It doesn't work for me either.

It starts the session with the SMTP Server and then gets stuck indefinitely.

2024-09-25T08:53:09.195395Z   INFO - [Velero]  Backup homer-backup-3 Completed ✅
2024/09/25 08:53:09 [e_mail.client/1] Info [EMail_Client] Start TCP session to smtp.office365.com:587
vitobotta commented 2 months ago

This project is unmaintained, and I will archive it so it doesn't cause confusion. I have switched to a Grafana dashboard for Velero with alerts as it's much better.