Page 1 of 11

Email notifications plugin revisited

Posted: Mon Jun 22, 2015 5:21 am
by dpint
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!

Re: Email notifications plugin revisited

Posted: Mon Jun 22, 2015 5:59 am
by tapper
Cool thanks!

I installed email with ssl on 1.7.1

Re: Email notifications plugin revisited

Posted: Thu Jul 02, 2015 8:54 pm
by Lantis
This is a very useful plugin. I'll probably replace my existing script with this :)

Re: Email notifications plugin revisited

Posted: Tue Jul 07, 2015 2:13 am
by majidkhan
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)

Re: Email notifications plugin revisited

Posted: Tue Jul 07, 2015 8:31 pm
by DrData
send of attachments would be a nice feature.

Re: Email notifications plugin revisited

Posted: Thu Jul 09, 2015 1:27 pm
by mates
this pluggin is only for 1.7 versions?
I cant install it on my 1.6.X (Built 20141109-0020 git@f372e3b)

Re: Email notifications plugin revisited

Posted: Mon Jul 13, 2015 6:01 am
by dpint
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?

Re: Email notifications plugin revisited

Posted: Tue Jul 14, 2015 1:38 pm
by Eric
This looks great, I'm going to merge it into the main repository.

Thanks!

Re: Email notifications plugin revisited

Posted: Wed Jul 15, 2015 12:45 am
by mates
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:~#

Re: Email notifications plugin revisited

Posted: Fri Jul 24, 2015 10:01 am
by dpint
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.