HomeGenie Forum

Automation Program Plugins and Wizard Scripting => Help => Topic started by: ado464 on August 15, 2014, 12:44:36 PM

Title: Security System Send Mail
Post by: ado464 on August 15, 2014, 12:44:36 PM
I have set up everything in the automation scene, email is set up and so is security sensor to who it should send but nothing happens, i get no mail and i have tried different email services but nothing. Running HG on raspberry pi, help please
Title: Re: Security System Send Mail
Post by: nolio on August 16, 2014, 08:38:26 AM
Hi,

did you take a look at this ?
http://www.homegenie.it/forum/index.php?topic=168.0 (http://www.homegenie.it/forum/index.php?topic=168.0)

Bye
Title: Re: Security System Send Mail
Post by: ado464 on August 18, 2014, 11:14:40 AM
Yes i  have set it up a couple of times, but it just refuses to send me an email... i have forwarded the ports on ufw and everything but it does not work
Title: Re: Security System Send Mail
Post by: nolio on August 18, 2014, 09:26:40 PM
Hi,

Did you try to deactivate ufw ?
ufw filter paquets from inside to outside ?
You can simply try a telnet command like :
telnet <SMTP server> <SMTP port, usually 25>

Did you take a look in your spam ?
Perhaps a rule on your SMTP server drop your mail ... Example : sender not from the same domain, ...

Bye
Title: Re: Security System Send Mail
Post by: ado464 on August 19, 2014, 11:09:33 AM
Yes i have tried turning the ufw off, and contact from the smtp got a response. The mail is no where to be found... very weird. Running r411
Title: Re: Security System Send Mail
Post by: nolio on August 19, 2014, 09:07:21 PM
Hi,
yes very ...

2 others ideas:
1/ you can activate HG log in "configuration"->"maintenance", and take a look in log file
2/ launch a tcpdump command to confirm that HG contact your SMTP server.
Like :
tcpdump port 25

Bye
Title: Re: Security System Send Mail
Post by: nolio on August 19, 2014, 09:12:23 PM
And test your SMTP configuration in telnet with the information you put in HG, with something like this :
http://www.yuki-onna.co.uk/email/smtp.html (http://www.yuki-onna.co.uk/email/smtp.html)
Title: Re: Security System Send Mail
Post by: ado464 on August 20, 2014, 04:38:23 PM
wow i fixed it, hg just needed a reboot - awkward haha sorry for this topic
Title: Re: Security System Send Mail
Post by: nolio on August 20, 2014, 07:57:39 PM
Hi,
Arf, like an old windows   :-
Good thing that your problem is solve.
Bye