Setting up email alerts from multiple devices running OSSEC

0

I frequently deploy new, or reuse old Raspberry Pis for all kinds of projects and have developed an Ansible script to quickly set up a fresh installation with basic security features like a firewall and RSA keys.

I would also like to install OSSEC on every machine in order to get email alerts in case something happens, but I don't know what would be the best way to set up this up.

On my main server I have a "burner" Gmail account which sends emails to another secured Gmail account. This way the Emails don't get flagged as spam, and the Gmail app on my phone makes sure the alerts show up immediately. The problem with this is that it was a pain to set up and that I have to store the "burner's" password in plaintext. Doing this on multiple machines decreases the security.

Essentially, I only need the machines to be able to send mails, but I'm afraid that they'll quickly get stuck in spam filters without an account like @gmail.com. Another possibility would be hosting a local server, but from what I've read it's pretty complicated and has to be constantly maintained.

Is there a better way to achieve what I'm looking to do?

DzeriMNE

Posted 2019-10-08T22:19:26.997

Reputation: 11

No answers