OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: epicavic on December 26, 2017, 03:29:19 pm

Title: Send email from shell
Post by: epicavic on December 26, 2017, 03:29:19 pm
Hello guys,

Does anyone know what are the options for sending emails from opnsense shell ?
I have a script which checks opnsense logfiles and i would like to receive notifications with script output via email from opnsense

Regards,
Viktor
Title: Re: Send email from shell
Post by: shell on January 25, 2018, 10:50:07 pm
+1

I have an action script to find new devices in Lan and i would like to get an E-Mail Notification
Title: Re: Send email from shell
Post by: mausy5043 on February 18, 2018, 11:20:37 am
+1

I have an action script to find new devices in Lan and i would like to get an E-Mail Notification

Perhaps you could use this Python script: https://gist.github.com/Mausy5043/0f7fa43ba35cf68e2756b7bfe1419146 (https://gist.github.com/Mausy5043/0f7fa43ba35cf68e2756b7bfe1419146)

All that is required for this is a Gmail account and an App-specific password (see: https://support.google.com/accounts/answer/185833?hl=en).