Email notifications plugin revisited

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

Moderator: Moderators

iamlost
Posts: 13
Joined: Mon Mar 20, 2017 5:39 pm
Location: Australia

Re: Email notifications plugin revisited

Post by iamlost »

Hi,

Gargoyle 1.8.1 Email no SSL 1.0.1

Can someone point me to the location for the current Email plugin? My selection for the "Recently Visited Sites" does not stick. I have seen there is an update for 1.9, how do I download the email package for 1.9, I would like to compare and add the changes.

Thanks
Wayne
Linksys wrt1200ac - gargoyle 1.12.0

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

Re: Email notifications plugin revisited

Post by Lantis »

Latest sourcecode is here
https://github.com/ericpaulbishop/gargo ... ifications

You can't install a plugin from 1.9.2 onto 1.8.1
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

iamlost
Posts: 13
Joined: Mon Mar 20, 2017 5:39 pm
Location: Australia

Re: Email notifications plugin revisited

Post by iamlost »

Lantis wrote:Latest sourcecode is here
https://github.com/ericpaulbishop/gargo ... ifications

You can't install a plugin from 1.9.2 onto 1.8.1
Thanks Lantis, I am trying to investigate the issue with the recent sites setting not saving under 1.8.1, not sure how much success I will have
Linksys wrt1200ac - gargoyle 1.12.0

WonkoTheSane
Posts: 2
Joined: Mon Jul 10, 2017 1:55 pm

Re: Email notifications plugin revisited

Post by WonkoTheSane »

I'm apologize for even having to ask this question, and if there's a wiki, post or forum that addresses this, please feel free to point me there so you folks can get back to business...

Any chance I could ask someone to take a few minutes to walk me through the installation of this plugin, step-by-step? You know, like you would speak to a small, not very bright child? PM preferred so I don't sidetrack this thread.

I've been a Windows admin for quite a while, and despite having spent the better part of 2 hours trying to figure out how to install this script, I'm still pretty clueless. And by pretty clueless, I mean totally. But I'm a quick study!

I love Gargoyle for it's quota controls and it solved a ton of problems for me, but the email piece is one that would nail down the last piece of my puzzle.

Any help would be appreciated.

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Email notifications plugin revisited

Post by ispyisail »

First you need a 8 MB router or greater (will be one of the more powerful routers)

Image

Image

Image

WonkoTheSane
Posts: 2
Joined: Mon Jul 10, 2017 1:55 pm

Re: Email notifications plugin revisited

Post by WonkoTheSane »

Oh geez, I'm an idiot. Thank you. I was making this WAY more complicated that it needed to be.

User avatar
alienheartbeat
Posts: 22
Joined: Fri Feb 15, 2013 6:59 am
Location: Hong Kong
Contact:

Re: Email notifications plugin revisited

Post by alienheartbeat »

Just a small time-saving note for someone installing this for the first time.
If using smtp.gmail.com as the server,
and encryption = TLS,
then port 465 doesn't work
( daemon.err uhttpd[1865]: sendmail: could not send mail (account default from /etc/msmtprc))
have to set the port to 587.

Not sure why, but not very important.
http://alien-heartbeat.com

deadl0ck
Posts: 12
Joined: Mon Aug 21, 2017 8:41 am

Re: Email notifications plugin revisited

Post by deadl0ck »

Just to add to this.

I was also have the same issue of email not being sent at scheduled times (but the test email was working)

It was on also on a TP-Link TL-WDR3600

The email.sh, however, was in
/plugin_root/usr/lib/gargoyle
I changed permission to 744:
chmod 744 /plugin_root/usr/lib/gargoyle/email.sh

and edited that email.sh file and changed the last few lines from:

Code: Select all

then
	cat /tmp/email-log.txt | sendmail $receiver
else
	cat /tmp/email-log.txt | sendmail --tls-trust-file $tlscert $receiver
fi
to

Code: Select all

then
	cat /tmp/email-log.txt | /usr/sbin/sendmail $receiver
else
	cat /tmp/email-log.txt | usr/sbin/sendmail --tls-trust-file $tlscert $receiver
fi

dickinsons
Posts: 5
Joined: Wed Mar 09, 2022 12:30 pm

Re: Email notifications plugin revisited

Post by dickinsons »

I am having trouble using the Email Notifications plugin for Gargoyle (with SSL support) Version: 2.0-3
I followed the steps of ispyisail (viewtopic.php?p=45968#p45968) and alienheartbeat (viewtopic.php?p=46007#p46007) and managed to install the plugin and it is sending the test and scheduled emails, but all the emails are blank.
I would like help to make the Email contents report work.
However I would not want to reset the router without actually needing it.

Note: I don't know if this information is helpful, but my router is not working Change Administrator Password, it keeps the old password.


Device

Device Name:Gargoyle
Gargoyle Version:1.13.0
Model:TP-Link Archer C7 v5
Device Configuration:Gateway
Memory Usage:25MB / 121.3MB (20.6%)
Connections:62/4096
CPU Load Averages:0.00 / 0.02 / 0.00 (1/5/15 minutes)

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

Re: Email notifications plugin revisited

Post by Lantis »

Note: I don't know if this information is helpful, but my router is not working Change Administrator Password, it keeps the old password.
On the command line can you run

Code: Select all

df -h
cat /proc/mounts
and post the outputs here?
If your router is full (likely) then i would suggest the plugin is not able to generate the file needed to send the content of your email.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply