Successfully Setting Up SMTP Relay for Email Alerts

Hey everyone, I wanted to share my experience setting up an SMTP relay for email alerts using my Synology NAS. I recently purchased a water leak sensor and wanted to receive email notifications when something goes wrong. At first, I was a bit overwhelmed because I heard that most ISPs block Port 25 and require encryption, which seemed complicated for someone like me who isn’t very tech-savvy.I discovered that my Synology NAS could act as an SMTP relay, which simplified things a lot. Here’s how I did it:1. Install the Mail Server Package: Go to the Package Center and install the ‘Synology Mail Server’. This was straightforward and only took a few minutes.2. Configure SMTP Settings: Once installed, I navigated to the SMTP settings. I enabled SMTP and set the account type to ‘Local users’. I also checked ‘Enable SMTP Authorization’ and ‘Ignore authorization for LAN connections’. Then, I entered the hostname of my email provider and left the port at 25.3. Set Up Hubitat: I installed the ‘LGK SendMail V2’ driver from GitHub. After creating a new device for the emailer, I configured it with my NAS’s local IP, port 25, and my email address for both ‘From’ and ‘To’ fields.4. Testing: I used the Notifications app to send a test email. Pushing a button triggered the notification, and I received the email almost instantly. It worked perfectly!This setup has been a lifesaver. I no longer need to worry about encryption or complicated configurations. If you’re looking for a reliable way to send email alerts from your Hubitat, I highly recommend using your Synology NAS as an SMTP relay. It’s efficient and doesn’t require any additional costs.I hope this helps someone out there who’s struggling with similar issues. Happy tinkering! :rocket: