Email notifications plugin revisited

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

Moderator: Moderators

charlie
Posts: 12
Joined: Fri Sep 04, 2015 10:31 am
Location: Serbia, Belgrade

Re: Email notifications plugin revisited

Post by charlie »

:shock: :shock: :shock: - So many hours wasted in troubleshooting.. :(
Well I'll look on the bright side, at least understand the plugin logic now :)

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

Re: Email notifications plugin revisited

Post by Eric »

Sorry if I pulled an older version of the plugin -- the source code I added was the latest version that I could find that you posted.

I am always happy to use your latest code/updates -- just send me a pull request on github when you have a fix update and I'll make sure it gets included.

b0xBR
Posts: 14
Joined: Tue Aug 11, 2015 7:15 pm

Re: Email notifications plugin revisited

Post by b0xBR »

Hi!

I'm having an issue regarding email tab which is duplicated at system. Does anyone know how to fix it? Also, Email is still not working properly here.

WDR3600 + 1.8.0 Stable.

Regards.

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

Re: Email notifications plugin revisited

Post by ispyisail »


b0xBR
Posts: 14
Joined: Tue Aug 11, 2015 7:15 pm

Re: Email notifications plugin revisited

Post by b0xBR »

ispyisail wrote:should be fixed in this build?

http://www.gargoyle-router.com/phpbb/vi ... =14&t=7629
Hi ispyisail.

Can I do a dirty update, or I'll have to factory reset te confs, update and reconfigure?

Regards.

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

Re: Email notifications plugin revisited

Post by ispyisail »

try update first

if still having problems then "failsafe reset"

b0xBR
Posts: 14
Joined: Tue Aug 11, 2015 7:15 pm

Re: Email notifications plugin revisited

Post by b0xBR »

ispyisail wrote:try update first

if still having problems then "failsafe reset"
I had to do failsafe reset, and now the duplicate tab has been corrected. Also, I'm still having issues regarding the plugin -> daemon.err uhttpd[1795~] : sendmail: could not send mail (account default from /etc/msmtprc

Edit: I've got some logs that might help.

Sat Oct 3 10:12:23 2015 user.err msmtp: host=smtp.domain.com tls=off auth=on user=sender@domain.com from=sender@domain.com recipient@domain.com recipients=recipient@domain.com smtpstatus=501 smtpmsg='501 5.1.7 Bad sender address syntax' errormsg='envelope from address sender@domain.com recipient@domain.com not accepted by the server' exitcode=EX_DATAERR
Sat Oct 3 10:12:23 2015 daemon.err uhttpd[1807]: sendmail: envelope from address sender@domain.com recipient@domain.com not accepted by the server
Sat Oct 3 10:12:23 2015 daemon.err uhttpd[1807]: sendmail: server message: 501 5.1.7 Bad sender address syntax
Sat Oct 3 10:12:23 2015 daemon.err uhttpd[1807]: sendmail: could not send mail (account default from /etc/msmtprc)


One of the older versions worked the sendmail test with both e-mails, so, it's not a server configuration problem.

Regards.

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

Re: Email notifications plugin revisited

Post by dpint »

Fixed version isn't available from the Gargoyle repository yet.

You have to build it yourself or you can download it from here:

http://dpint.si/storage/gargoyle/plugin ... fications/
Last edited by dpint on Fri Oct 09, 2015 3:03 pm, edited 1 time in total.

b0xBR
Posts: 14
Joined: Tue Aug 11, 2015 7:15 pm

Re: Email notifications plugin revisited

Post by b0xBR »

dpint wrote:Fixed version isn't available from the Gargoyle repository yet.

You have to build it yourself or you can download it from here:

https://dpint.si/storage/gargoyle/plugi ... fications/
Thanks for your reply dpint.

I downloaded both ipks, but, when I try to remove the older package, it gives an error.

Sun Oct 4 23:46:31 2015 daemon.err uhttpd[1830]: sh: write error: Broken pipe
Sun Oct 4 23:46:31 2015 daemon.err uhttpd[1830]: sh: write error: Broken pipe
Sun Oct 4 23:46:31 2015 daemon.err uhttpd[1830]: sh: write error: Broken pipe
Sun Oct 4 23:46:31 2015 daemon.err uhttpd[1830]: sh: write error: Broken pipe
Sun Oct 4 23:46:51 2015 daemon.err uhttpd[1830]: Segmentation fault
Sun Oct 4 23:47:05 2015 daemon.err uhttpd[1830]: Segmentation fault
Sun Oct 4 23:47:21 2015 daemon.err uhttpd[1830]: Segmentation fault
Success
.

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

Re: Email notifications plugin revisited

Post by dpint »

Try restoring to default settings.

Let me know if the error still shows up after that.

Post Reply