Email notifications plugin revisited

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

dpint
Posts: 32
Joined: Fri Oct 31, 2014 10:48 am

Email notifications plugin revisited

Postby dpint » Mon Jun 22, 2015 5:21 am

Latest version of this plugin isn't available from the Gargoyle repository.

DO NOT INSTALL THIS PLUGIN ON ROUTERS WITH 4MB FLASH.

Run following commands to install latest version (only works on Gargoyle router >=1.9):

Non-SSL version:

Code: Select all

opkg update
wget -O /tmp/email.ipk http://goo.gl/aosUtk
opkg install /tmp/email.ipk
rm /tmp/email.ipk


SSL version:

Code: Select all

opkg update
wget -O /tmp/email.ipk http://goo.gl/FkR2hD
opkg install /tmp/email.ipk
rm /tmp/email.ipk


Report bugs to this thread. Install latest version before reporting bugs!
Last edited by dpint on Sat Nov 19, 2016 5:25 pm, edited 11 times in total.

tapper
Moderator
Posts: 1065
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: Email notifications plugin revisited

Postby tapper » Mon Jun 22, 2015 5:59 am

Cool thanks!

I installed email with ssl on 1.7.1
Linksys WRT1900AC V2 Gargoyle 1.11
Linksys WRT3200ACM OpenWrt Snapshot

Lantis
Moderator
Posts: 4999
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Email notifications plugin revisited

Postby Lantis » Thu Jul 02, 2015 8:54 pm

This is a very useful plugin. I'll probably replace my existing script with this :)
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

majidkhan
Posts: 17
Joined: Mon Jul 06, 2015 7:55 am

Re: Email notifications plugin revisited

Postby majidkhan » Tue Jul 07, 2015 2:13 am

Im getting the following error :

Something went wrong. Response:
sendmail: envelope from address xxxe@abcd.com xxxx@gmail.com not accepted by the server
sendmail: server message: 501 5.1.7 Bad sender address syntax
sendmail: could not send mail (account default from /etc/msmtprc)

DrData
Posts: 4
Joined: Thu Jul 02, 2015 2:41 pm

Re: Email notifications plugin revisited

Postby DrData » Tue Jul 07, 2015 8:31 pm

send of attachments would be a nice feature.

mates
Posts: 128
Joined: Mon Nov 14, 2011 7:53 am

Re: Email notifications plugin revisited

Postby mates » Thu Jul 09, 2015 1:27 pm

this pluggin is only for 1.7 versions?
I cant install it on my 1.6.X (Built 20141109-0020 git@f372e3b)

dpint
Posts: 32
Joined: Fri Oct 31, 2014 10:48 am

Re: Email notifications plugin revisited

Postby dpint » Mon Jul 13, 2015 6:01 am

I installed it successfully on 1.6.2 version. Can you try to install it using CLI (opkg install plugin-gargoyle-email-notifications) and send me an error message you get?

Eric
Site Admin
Posts: 1436
Joined: Sat Jun 14, 2008 1:14 pm

Re: Email notifications plugin revisited

Postby Eric » Tue Jul 14, 2015 1:38 pm

This looks great, I'm going to merge it into the main repository.

Thanks!

mates
Posts: 128
Joined: Mon Nov 14, 2011 7:53 am

Re: Email notifications plugin revisited

Postby mates » Wed Jul 15, 2015 12:45 am

Hi

here is log

Code: Select all

BusyBox v1.19.4 (2014-11-09 17:24:32 NZDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.6.X    | OpenWrt Attitude Adjustment branch |
| Gargoyle revision f372e3b | OpenWrt revision r42647            |
| Built November 09, 2014   | Target  ar71xx/usb_large           |
------------------------------------------------------------------
root@routr:~# opkg install plugin-gargoyle-email-notifications
Preparing to install the following packages, which will require 225372 bytes:
        msmtp, ca-certificates, plugin-gargoyle-email-notifications

Preparing to install package msmtp...
        Downloading...
        Downloaded msmtp successfully.
        Installing msmtp...
        Successfully installed msmtp.
Preparing to install package ca-certificates...
        Downloading...
ERROR: MD5Sum mismatch for ca-certificates package
       Expected:   5470c3af295f5997ad6aa50bd69ac1d5
       Downloaded: 46fc1074d6c6e1059795d2e7a49fa1cd

An error occurred during Installation, removing partially installed packages.
Removing package msmtp...
Finished removing msmtp.

Removing package ca-certificates...
Finished removing ca-certificates.

Removing package plugin-gargoyle-email-notifications...
Finished removing plugin-gargoyle-email-notifications.

Finished removing partially installed packages.

root@routr:~#

dpint
Posts: 32
Joined: Fri Oct 31, 2014 10:48 am

Re: Email notifications plugin revisited

Postby dpint » Fri Jul 24, 2015 10:01 am

Eric wrote:This looks great, I'm going to merge it into the main repository.

Thanks!


Great. I see you also fixed the issues I mentioned in the first post.

mates wrote:Hi

here is log

Code: Select all

BusyBox v1.19.4 (2014-11-09 17:24:32 NZDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.6.X    | OpenWrt Attitude Adjustment branch |
| Gargoyle revision f372e3b | OpenWrt revision r42647            |
| Built November 09, 2014   | Target  ar71xx/usb_large           |
------------------------------------------------------------------
root@routr:~# opkg install plugin-gargoyle-email-notifications
Preparing to install the following packages, which will require 225372 bytes:
        msmtp, ca-certificates, plugin-gargoyle-email-notifications

Preparing to install package msmtp...
        Downloading...
        Downloaded msmtp successfully.
        Installing msmtp...
        Successfully installed msmtp.
Preparing to install package ca-certificates...
        Downloading...
ERROR: MD5Sum mismatch for ca-certificates package
       Expected:   5470c3af295f5997ad6aa50bd69ac1d5
       Downloaded: 46fc1074d6c6e1059795d2e7a49fa1cd

An error occurred during Installation, removing partially installed packages.
Removing package msmtp...
Finished removing msmtp.

Removing package ca-certificates...
Finished removing ca-certificates.

Removing package plugin-gargoyle-email-notifications...
Finished removing plugin-gargoyle-email-notifications.

Finished removing partially installed packages.

root@routr:~#


I guess Eric fixed the bug above, while moving the code to the main repository.


Return to “Show / Tell / Contribute”

Who is online

Users browsing this forum: No registered users and 2 guests