Jump to content
hta2014

email notification doesn't work on my stand alone DVR

Recommended Posts

Hi,

The DVR is a "no name" one.. It identifies itself as "DVR H.264 Phantom".

Motherboard is printed with : "GM8187T-16CH-V2.2"

Everything (excluding mail and ftp notifications) works fine.

I upgraded software to 2.3.39

The seller removed warranty to the mail feature.

 

I am sure the provided details to the mail feature are correct (gmail's smtp, correct password and port, SSL, etc.)

The DVR has a valid IP connected to a ROUTER with DMZ option set to it (and i am able to connect to the DVR using internet explorer from outside my network, and also to view the cameras from the iphone)

 

I saw similar post here : http://www.cctvforum.com/viewtopic.php?t=35386

"nae8ean" with 8182T board..

 

My question is :

a) does anyone know this DVR and a way to upgrade its software ?

b) a workaround suggestion maybe (i need a mail notification for motion detect) ?

Share this post


Link to post
Share on other sites

Google's Two Step Verification process is more than likely required for you.

 

Follow this link: https://www.google.com/settings/security

 

You'll need to click on Setup to enable two step verification. Ultimately, you'll be needing to obtain a password here. It will be 16 digits + spaces. The whole number (including spaces) will become the password you need to enter on your DVR. I believe it is also case sensitive.

Share this post


Link to post
Share on other sites

I've made the 2 steps verification process (which made me have to re-enter passwords everywhere.. iphone, pc, etc.. and the DVR of-course).

It doesn't help. I restarted, I tried to enter email setup info both from the DVR itself and the http interface.. nothing.

I also looked at google's "Last Used" field where it shows for example that the iphone mail was used after re-entering the 2-steps password, but the DVR's field is still in not-used state.

So I guess the DVR is not sending any mail, not even trying.

 

I will upload some photos later of the motherboard, screen shots, and I hope you'll be able to help me before throwing this device to trash.

 

I must mention I have a computer at another site with GeoVision card installed and it is working perfectly including sending intruder-notifiaction via mail. And for the second site I used this cheap DVR just for recording, and now I must have an alarm notifier (I had a thief in the place and I just was able to see her stealing things the day after).

 

So any help / suggestion is appreciated!!

Share this post


Link to post
Share on other sites

A couple of WAGs that may be totally useless...

You may want to try to get the debug output from an email module.

Also check your network settings in the DVR, i.e. not having DNS set up has been noted in other posts on email failure.

Share this post


Link to post
Share on other sites

Hi,

I setup a ddns (noip) and remotely connected to it but no help with the email notifications.

As for a mail module(?..), I searched using the above mentioned telnet "uclinux" interface and found the following:

 

/usr/sbin/sendmail

/usr/sbin/popmailerdir

/usr/bin/fetchmail

 

so i went to try the sendmail ofcourse.. it's busybox's sendmail.

after successful ping to smtp.gmail.com and after checking that sendmail "tries" to connect to the internet somehow, I ended with what I guess is a valid sendmail syntax and it seems to be stuck!

 

I am able to write some text (I don't know if this is an input to sendmail or just the shell..)

CTRL+D doesn't help, and also not the "." which sendmail probably search for.

 

# sendmail -f MYGMAIL@gmail.com -S smtp.gmail.com:465 -auMYGMAIL@gmail.com -apMYPASS MYRECPT@gmail.com

 

I also tried with the "-t" option and an input file with "FROM:.. TO:..." but it's still stuck.

Trying to execute it with "-S blabla@blabla.novalid" deliberately came with "bad address" so it does something..

 

I am trying to find (any) file which contains the word "mail" inside and maybe then to find something to work on.

I found the sendmail, fetchmail and popmaildir like this :

du -a > tmpfile

grep -i mail tmpfile

 

I tried to :

cd /

find . -exec "/bin/cat {} | grep -i mail" ';'

 

but it keeps telling me for each file "no such file or.." although it there...

 

any idea ?

Share this post


Link to post
Share on other sites

an update:

after writing to you the above, i kept searching and I found few interesting things:

/ # more etc/version
GM8181 Clinux rootfs --  Tue Dec 30 14:44:18 CST 2008

which proves that this is Grain Media motherboard ?

 

and I found the "app" directory at /mnt/mtd and /mnt/mtd/app !

grep -i mail there gave a clue.. there are files containing info about mail recipients according to my setup and it seems libcore.so created them. although it is an app's library, I found in it the needed clues to understand that it does create few file with the mail attributes and it maintain a log file which i cannot find. I am sure the app creates and then uses a file named :

msmtprc

this file contains my email attributes but has a weird file attributes :

-rwxrwxrwx    1 1000     1000       148348 Jan  1  1970 libxml.so
lrwxrwxrwx    1 root     0              11 Jan  1  1970 mac -> /config/mac
-rw-r--r--    1 root     0             214 Oct 15 15:08 mini_httpd.conf
-rwxrwxrwx    1 1000     1000       195220 Jan  1  1970 mke2fs
------S--T    1 root     0             199 Oct 15 15:08 msmtprc
drwxrwxrwx    6 1000     1000            0 Jan  1  1970 network
-rwxrwxrwx    1 1000     1000        22220 Jan  1  1970 ntpclient
-rwxrwxrwx    1 1000     1000         1393 Jan  1  1970 pause.jpg

 

------S--T 1 root 0 199 Oct 15 15:08 msmtprc

 

So. what is "------S--T" means ???? is it safe to change it (chmod 777 msmtprc) and how can i get it back to "------S--T" ? It might be the bug...

Share this post


Link to post
Share on other sites

OK ............. U P D A T E !!! SOLVED SOLVED SOLVED !!

 

ignore the above posts... (I wrote a lot, I know..)

 

The DVR and my PC on the same LAN, so I setup'd MailEnable server, opened ports on the LAN firewall, and..... apparently the DVR does send an email. It is not reaching the Inbox because of a problem, you might help me to solve.

 

Info : DVR ip address : 192.9.90.18

PC ip : 192.9.90.9

 

DVR settings :

Server Address : 192.9.90.9
Port : 25
Sender : aa@192.9.90.9
Recipient : bb@192.9.90.9
Password : 12345

of course MailEnable is setup'd with aa and bb mail boxes.

 

Here is what mailEnable's log says:

10/16/14 11:59:30	SMTP-IN	8AAA315D4C3C4D959548952CCE66D021.MAI	844	192.9.90.18			220 HTA-PC.192.9.90.9 ESMTP MailEnable Service, Version: 8.55-- ready at 10/16/14 11:59:30	0	0	
10/16/14 11:59:30	SMTP-IN	8AAA315D4C3C4D959548952CCE66D021.MAI	844	192.9.90.18	EHLO	EHLO Localhost	250-192.9.90.9 [192.9.90.18], this server offers 4 extensions	124	16	
10/16/14 11:59:30	SMTP-IN	8AAA315D4C3C4D959548952CCE66D021.MAI	844	192.9.90.18	AUTH	AUTH LOGIN	334 VXNlcm5hbWU6	18	12	
10/16/14 11:59:30	SMTP-IN	8AAA315D4C3C4D959548952CCE66D021.MAI	844	192.9.90.18	AUTH	{blank}	334 UGFzc3dvcmQ6	18	22	aa@192.9.90.9
10/16/14 11:59:30	SMTP-IN	8AAA315D4C3C4D959548952CCE66D021.MAI	844	192.9.90.18	AUTH	MTIzNDU=	504 Invalid Username or Password	34	10	aa@192.9.90.9

 

I couldn't set from the web interface a username without the "@192.9.90.9", but from the direct interface of the DVR itself it could be done, and the log is now :

10/16/14 12:11:03	SMTP-IN	32B86F75E0A847C0852B2392F9D6BF5F.MAI	636	192.9.90.18			220 AL-PC.192.9.90.9 ESMTP MailEnable Service, Version: 8.55-- ready at 10/16/14 12:11:03	0	0	
10/16/14 12:11:03	SMTP-IN	32B86F75E0A847C0852B2392F9D6BF5F.MAI	636	192.9.90.18	EHLO	EHLO Localhost	250-192.9.90.9 [192.9.90.18], this server offers 4 extensions	124	16	
10/16/14 12:11:03	SMTP-IN	32B86F75E0A847C0852B2392F9D6BF5F.MAI	636	192.9.90.18	AUTH	AUTH LOGIN	334 VXNlcm5hbWU6	18	12	
10/16/14 12:11:03	SMTP-IN	32B86F75E0A847C0852B2392F9D6BF5F.MAI	636	192.9.90.18	AUTH	{blank}	334 UGFzc3dvcmQ6	18	6	aa
10/16/14 12:11:03	SMTP-IN	32B86F75E0A847C0852B2392F9D6BF5F.MAI	636	192.9.90.18	AUTH	{blank}	235 Authenticated	19	10	aa
10/16/14 12:11:03	SMTP-IN	32B86F75E0A847C0852B2392F9D6BF5F.MAI	636	192.9.90.18	MAIL	MAIL FROM: <aa@192.9.90.9>	250 Requested mail action okay, completed	43	28	aa
10/16/14 12:11:03	SMTP-IN	32B86F75E0A847C0852B2392F9D6BF5F.MAI	636	192.9.90.18	RCPT	RCPT TO: <bb@192.9.90.9>	250 Requested mail action okay, completed	43	26	aa
10/16/14 12:11:03	SMTP-IN	32B86F75E0A847C0852B2392F9D6BF5F.MAI	636	192.9.90.18	DATA	DATA	354 Start mail input; end with <CRLF>.<CRLF>	46	6	aa
10/16/14 12:11:03	SMTP-IN	EBCA17474A054550A6A14A161D251E10.MAI	636	192.9.90.18	QUIT	QUIT	221 Service closing transmission channel	42	6	aa

 

Now there's a mail and also the snapshot.

It works without SSL.

 

I need to find out how to send it to gmail, or maybe find another service which can serve mails like my mailEnable does.

 

 

I am so happy (kind of "fuck the system" feeling, because Grain Media refuses to answer my emails)

 

Share this post


Link to post
Share on other sites

Gmail does not use port 25, they use 465. Just set up mail on a cheap-o dvr and had the same problem. changed smtp port to 465 and it sends just fine now.

 

OK ............. U P D A T E !!! SOLVED SOLVED SOLVED !!

 

ignore the above posts... (I wrote a lot, I know..)

 

The DVR and my PC on the same LAN, so I setup'd MailEnable server, opened ports on the LAN firewall, and..... apparently the DVR does send an email. It is not reaching the Inbox because of a problem, you might help me to solve.

 

Info : DVR ip address : 192.9.90.18

PC ip : 192.9.90.9

 

DVR settings :

Server Address : 192.9.90.9
Port : 25
Sender : aa@192.9.90.9
Recipient : bb@192.9.90.9
Password : 12345

Share this post


Link to post
Share on other sites
Gmail does not use port 25, they use 465. Just set up mail on a cheap-o dvr and had the same problem. changed smtp port to 465 and it sends just fine now.

 

 

I did. believe me. I tried everything there.

It won't work with gmail or any other SSL smtp i think

I need to find an online service which doesn't require SSL and maybe forward from there to my gmail account...

 

EDIT : I found gmx.com as an online free mail server, no ssl required and port 25 is the needed port. It doesn't work..... why? why on my lan it was ok and with online service it doesn't? the 192.9.90.18 ports are opened (although it is not necessary)

Share this post


Link to post
Share on other sites

Hello,

I have a DVR with the motherboard GM8187T manufactured in China, after several tests believe there is resilience program in software this card because it does not work for the year 2016 because after reboot back to the factory date 2011-01-01, works only between 2012 and 2015, then I would try to upgrade the motherboard firmware but can not find anywhere this download if anyone have this file, I appreciate if available the download link for me.

 

Thank you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×