Results 1 to 12 of 12

Thread: N5200Pro - System freeze when setting up SMTP notification

  1. #1
    Registered+
    Join Date
    Jan 2008
    Posts
    82
    Thanks
    1
    Thanked
    0 times in 0 posts

    N5200Pro - System freeze when setting up SMTP notification

    Hello list -
    I was trying to setup the notification section using google's smtp, but the all my systems freeze when I tried to send a Test E-Mail. I have three N5200Pro and I can repeat this on all three boxes.

    When a system freezes, I can still ssh into the box as a sys user and see a list of httpd process running, but any attempt to access with a web browser failed. The only thing I can do as user 'sys' is to issue a reboot command, at that point, everything freeze, including access to the raid system and I must boot from USB to restore defaut settings from the factory_test.sh/firmware combo.

    My "Nofitication Configuration" was as followed:
    Beep Notification Enable
    Email Notification Enable
    SMTP Server smtp.gmail.com
    SMTP Port 465 (instruction came from Google)
    Auth Type: on
    SMTP Account ID: my_name@gmail.com
    Account Password: my_password
    E-Mail From: my_name@gmail.com
    Receivers' Address: my_name@gmail.com


    the system responded normal when you clicked on "Apply". But freeze when I tried the E-Mail Test feature. I assume that my authentication is probably not correct at Google, but my N5200 should time out and returns control back to me or something. What I don't understand is what was causing the system to freeze that I must run factory_test.sh to restore?

    Please help.

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N5200Pro - System freeze when setting up SMTP notification

    Hi rhumba,

    Did you manage to configure e-mail notifications with Google Mail? I've tried a number of options, but cannot get it to work

    Thanks,
    Denis

  3. #3
    Senior Member
    Join Date
    Jun 2007
    Location
    Austra
    Posts
    453
    Thanks
    0
    Thanked
    14 times in 14 posts

    Re: N5200Pro - System freeze when setting up SMTP notification

    Google Mail requires TLS for authentication, this option is not available via the notification mail option page, but there is a workaround:
    http://thecususergroup.proboards106....ad=1361&page=1
    br
    Peter

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N5200Pro - System freeze when setting up SMTP notification

    Hi peterfu,

    Thank you so much!

    Unfortunately I still cannot get it to work The connection to smtp.google.com time-outs.

    Here is my config:
    Code:
    Email Notification:  Enable 
    SMTP Server: smtp.google.com
    Port: {set by the update to the conf.db - see below}
    Auth Type: plain
    SMTP Account ID: {my google account id}
    Account Password: {my google account password}
    E-Mail From: {my google e-mail}
    Receivers' E-Mail Address: {my google e-mail}
    Here is what happens when I try to update port and then test e-mail notification:
    Code:
    root@127.0.0.1:~# /opt/bin/sqlite /app/cfg/conf.db "update conf set v ='587 --tls=on --tls-certcheck=off' where k='notif_smtport'"
    root@127.0.0.1:~# /img/bin/logevent/event 201
    msmtp: cannot connect to smtp.google.com, port 587: Connection timed out
    msmtp: could not send mail
    root@127.0.0.1:~# /opt/bin/sqlite /app/cfg/conf.db "update conf set v ='465 --tls=on --tls-certcheck=off' where k='notif_smtport'"
    root@127.0.0.1:~# /img/bin/logevent/event 201
    msmtp: cannot connect to smtp.google.com, port 465: Connection timed out
    msmtp: could not send mail
    root@127.0.0.1:~# /opt/bin/sqlite /app/cfg/conf.db "update conf set v ='25 --tls=on --tls-certcheck=off' where k='notif_smtport'"
    root@127.0.0.1:~# /img/bin/logevent/event 201
    msmtp: the server does not support authentication
    msmtp: could not send mail
    I've tested whether smtp.google.com is reachable from my N5200 Pro and it is:
    Code:
    root@127.0.0.1:~# ping smtp.google.com
    PING smtp1.google.com (209.85.237.25): 56 data bytes
    64 bytes from 209.85.237.25: icmp_seq=0 ttl=237 time=158.4 ms
    64 bytes from 209.85.237.25: icmp_seq=1 ttl=237 time=156.6 ms
    64 bytes from 209.85.237.25: icmp_seq=2 ttl=237 time=151.0 ms
    Any suggestions what else I should try?

    Thanks again!

  5. #5
    Senior Member
    Join Date
    Jun 2007
    Location
    Austra
    Posts
    453
    Thanks
    0
    Thanked
    14 times in 14 posts

    Re: N5200Pro - System freeze when setting up SMTP notification

    I think You have to use smtp.gmail.com - at least this is what the instructions say.
    http://mail.google.com/support/bin/a...n&answer=13287
    br
    Peter

  6. #6
    DILLIGAF GoNz0's Avatar
    Join Date
    Jun 2006
    Location
    Derby
    Posts
    10,872
    Thanks
    632
    Thanked
    1,192 times in 945 posts
    • GoNz0's system
      • Motherboard:
      • Asus Rampage V Extreme
      • CPU:
      • i7 something X99 based
      • Memory:
      • 16gb GSkill
      • Storage:
      • 4 SSD's + WD Red
      • Graphics card(s):
      • GTX980 Strix WC
      • PSU:
      • Enermax Galaxy 1250 (9 years and counting)
      • Case:
      • Corsair 900D
      • Operating System:
      • win10 64bit
      • Monitor(s):
      • Dell 24"
      • Internet:
      • 220mb Cable

    Re: N5200Pro - System freeze when setting up SMTP notification

    balls my box froze after trying this, was stuck on assemble raid and now self test after a reboot.. fingers crossed it recovers

  7. #7
    Registered User
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N5200Pro - System freeze when setting up SMTP notification

    Quote Originally Posted by peterfu View Post
    I think You have to use smtp.gmail.com - at least this is what the instructions say.
    Doh!! This is not the first time I am making this mistake - had exactly the same problem when configured e-mail on my mobile. Thanks for putting me right, Peter, much appreciate it.

    After trying a number of options I have finally found the one, which works:
    Code:
    Email Notification:  Enable 
    SMTP Server: smtp.gmail.com
    Port: {set by the update of conf.db to '587 --tls=on --tls-certcheck=off'}
    Auth Type: login
    SMTP Account ID: {my google account id}
    Account Password: {my google account password}
    E-Mail From: {my google e-mail}
    Receivers' E-Mail Address: {my google e-mail}

  8. #8
    DILLIGAF GoNz0's Avatar
    Join Date
    Jun 2006
    Location
    Derby
    Posts
    10,872
    Thanks
    632
    Thanked
    1,192 times in 945 posts
    • GoNz0's system
      • Motherboard:
      • Asus Rampage V Extreme
      • CPU:
      • i7 something X99 based
      • Memory:
      • 16gb GSkill
      • Storage:
      • 4 SSD's + WD Red
      • Graphics card(s):
      • GTX980 Strix WC
      • PSU:
      • Enermax Galaxy 1250 (9 years and counting)
      • Case:
      • Corsair 900D
      • Operating System:
      • win10 64bit
      • Monitor(s):
      • Dell 24"
      • Internet:
      • 220mb Cable

    Re: N5200Pro - System freeze when setting up SMTP notification

    what command did you issue over ssh ?

    edit* scrap that /opt/bin/sqlite /app/cfg/conf.db "update conf set v ='25 --tls' where k='notif_smtport'" worked fine
    Last edited by GoNz0; 22-03-2009 at 07:29 PM.

  9. #9
    Registered User
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: N5200Pro - System freeze when setting up SMTP notification

    Quote Originally Posted by GoNz0 View Post
    what command did you issue over ssh ?
    First I configured the above parameters using web interface and specified port as 1. Then I run a command from ssh session to update port value:
    Code:
    root@127.0.0.1:~# /opt/bin/sqlite /app/cfg/conf.db "update conf set v ='587 --tls=on --tls-certcheck=off' where k='notif_smtport'"
    After that I used the following command to test the config:
    Code:
    root@127.0.0.1:~# /img/bin/logevent/event 201

  10. #10
    DILLIGAF GoNz0's Avatar
    Join Date
    Jun 2006
    Location
    Derby
    Posts
    10,872
    Thanks
    632
    Thanked
    1,192 times in 945 posts
    • GoNz0's system
      • Motherboard:
      • Asus Rampage V Extreme
      • CPU:
      • i7 something X99 based
      • Memory:
      • 16gb GSkill
      • Storage:
      • 4 SSD's + WD Red
      • Graphics card(s):
      • GTX980 Strix WC
      • PSU:
      • Enermax Galaxy 1250 (9 years and counting)
      • Case:
      • Corsair 900D
      • Operating System:
      • win10 64bit
      • Monitor(s):
      • Dell 24"
      • Internet:
      • 220mb Cable

    Re: N5200Pro - System freeze when setting up SMTP notification

    for some reason the original command on the thecus forum worked

  11. #11
    Senior Member
    Join Date
    Jun 2007
    Location
    Austra
    Posts
    453
    Thanks
    0
    Thanked
    14 times in 14 posts

    Re: N5200Pro - System freeze when setting up SMTP notification

    Great, that it works now for both of You
    br
    Peter

  12. #12
    DILLIGAF GoNz0's Avatar
    Join Date
    Jun 2006
    Location
    Derby
    Posts
    10,872
    Thanks
    632
    Thanked
    1,192 times in 945 posts
    • GoNz0's system
      • Motherboard:
      • Asus Rampage V Extreme
      • CPU:
      • i7 something X99 based
      • Memory:
      • 16gb GSkill
      • Storage:
      • 4 SSD's + WD Red
      • Graphics card(s):
      • GTX980 Strix WC
      • PSU:
      • Enermax Galaxy 1250 (9 years and counting)
      • Case:
      • Corsair 900D
      • Operating System:
      • win10 64bit
      • Monitor(s):
      • Dell 24"
      • Internet:
      • 220mb Cable

    Re: N5200Pro - System freeze when setting up SMTP notification

    yes and you dont know how happy i was to find a link to the factory test download for firmware 15

    thecus user group wins my vote again

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Live Stock Notification System.
    By Rhyth in forum SCAN.care@HEXUS
    Replies: 5
    Last Post: 15-01-2006, 10:18 AM
  2. System policy for setting user variables
    By madman045 in forum Software
    Replies: 0
    Last Post: 25-07-2005, 10:07 AM
  3. Abit NF7-S revision 2 information
    By Lee H in forum SCAN.care@HEXUS
    Replies: 22
    Last Post: 30-10-2004, 07:13 PM
  4. Keeping your system healthy and secure
    By Paul Adams in forum Software
    Replies: 6
    Last Post: 12-10-2004, 09:35 PM
  5. AGP & System freeze
    By Vijay in forum Graphics Cards
    Replies: 32
    Last Post: 01-11-2003, 06:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •