Does something like this exists in HA? An SMTP relay/forward service
I have some security camera’s that can send an email on an alert.
But I don’t like that they send an e-mail directly to an external internet SMTP server.
So I’m searching for a SMTP relay/forward service in HA.
So that HA receives all the alert emails (with JPEG attachment) from my camera’s and relay/forwards them immediately to an external/internet email account
Can you even configure your camera to use a different email server? If not, then a service like that wouldn’t help.
You could technically set up a mail proxy by configuring something like Qmail or sendmail or postfix locally, and using that to forward-email somewhere authenticated (most legit mail servers will not let unauthenticated parties send e-mail). You will of course have to do some processing of the incoming email to change the “From” address so that it matches whatever authentication credentials you’re using to send that email from. I believe the postfix documentation is clear on how to do all of that.
Hi all, I have the same request. I use Reolink Alarm Cameras which are able to send Alarm Emails with a jpeg attached. I can configure an smtp Email-Client with dns, login as email, password and port to connect the smtp server.
As a general Email Provider I use Brevo.
The Emails are sent to an App called “Revierspion”. There I can configure Cameras (e.g. Camera 1, etc.) and all the Alarm Fotos are shown. In the App I can filter for Camera or time frame. I am also able to add other users and define which camera they are allowed to see. Each camera has a seperate Email-Adress in Revierspion (e.g. [email protected])
It works in general quiet good. What are my problems:
I get too many emails if a deer or pig is in the area for half an hour I can easly get 50 Emails. Because the Reolink Cameras also record a local video. I can define how long (5 seconds to 30 seconds). after the recording if a alarm is triggered the camera immediatly sends a new email and starts recording again.
what would i like to to?
i would like to send all fotos from my approx 10 reolink cameras to home assistant. there i would like to check if an email from this specific kamera was received within the last 5min. then skip the forward. else i would like to forward the email to the specific Revierspion Email connected to the camera. Maybe it would be nice to have it configurable. send the first 2 emails with a break of 1min. and then only after 5min again. in order to reduce number of fotos.
what should ha do?
i should be able to configure my cameras with a different login to home assistant smpt and a forward email-adress for Revierspion
i should be able to configure a minimum pause between emails sent.
a notification when the 300 free emails are used up
ideally the login to brevo should work via api-key