more G-Labs products

Author Topic: Security System Send Mail  (Read 2495 times)

August 15, 2014, 12:44:36 PM
Read 2495 times

ado464

  • **
  • Information
  • Jr. Member
  • Posts: 32
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

August 16, 2014, 08:38:26 AM
Reply #1

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544

August 18, 2014, 11:14:40 AM
Reply #2

ado464

  • **
  • Information
  • Jr. Member
  • Posts: 32
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

August 18, 2014, 09:26:40 PM
Reply #3

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
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

August 19, 2014, 11:09:33 AM
Reply #4

ado464

  • **
  • Information
  • Jr. Member
  • Posts: 32
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

August 19, 2014, 09:07:21 PM
Reply #5

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
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

August 19, 2014, 09:12:23 PM
Reply #6

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
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

August 20, 2014, 04:38:23 PM
Reply #7

ado464

  • **
  • Information
  • Jr. Member
  • Posts: 32
wow i fixed it, hg just needed a reboot - awkward haha sorry for this topic

August 20, 2014, 07:57:39 PM
Reply #8

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Hi,
Arf, like an old windows   :-
Good thing that your problem is solve.
Bye