OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Send email from shell
« previous next »
  • Print
Pages: [1]

Author Topic: Send email from shell  (Read 4679 times)

epicavic

  • Newbie
  • *
  • Posts: 3
  • Karma: 1
    • View Profile
Send email from shell
« 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
Logged

shell

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
    • Mein PC spinnt !!!
Re: Send email from shell
« Reply #1 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
Logged

mausy5043

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 5
    • View Profile
Re: Send email from shell
« Reply #2 on: February 18, 2018, 11:20:37 am »
Quote from: 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

Perhaps you could use this Python script: 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).
Logged
:-D  Hobbyist programmer since 1986

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Send email from shell
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2