email notify

i unlocked it but still cannot send emails out.
just checked and my public ip is blacklisted in Sorbs and Spamhaus. i will try to delist and see if this has to do with the problem
 
i asked my isp to change my public ip and everything works fine now. it must have to do something with the Blacklist of my previous ip and also google must blocked me also for sending too many emails. lets see how it goes from now on. i think i will reduce somehow the notifications to avoid such issues in the future
 
I'm running this f/w -

Device TypeIPC-HFW5231E-Z
System VersionV2.800.0000005.0.R, Build Date: 2019-03-25

Unfortunately I could not get wireshark working for me to get a capture. Promiscuous mode was enabled by default. Not sure if my NIC supports that mode (an Intel I219-V, with latest updated drivers).

I'm a little late to the party but I finally got wireshark capturing packets correctly on a different PC. When I compare mail test sending using Hotmail (at bottom), there is a lot more TLSv1.2 activity shown compared to Gmail (at top).

gmail_Capture.PNG

hotmail_capture.PNG


So the question remains, I hope new firmware will resolve this ?
 
  • Like
Reactions: JulieD
Attention:
dahua also receive this kind of complaint
Just change the smtp server into smtp.gmail.com, then can be sorted.
 
Last edited:
That is also what I am using (smtp.gmail.com)
 
OK, i will check with them again. Thanks.
 
Andy, we've done Wireshark tests and freshcoast's tests suggest there is a problem with how the cameras are responding to the use of tls 1.3 by google.

OpenSSL 1.1.1, which supports TLS 1.3, seems to agree:

$ openssl s_client -tls1_3 -connect smtp.gmail.com:587 -starttls smtp
CONNECTED(00000003)
---
<CUT>
---
SSL handshake has read 3033 bytes and written 351 bytes
Verification: OK
---
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
250 SMTPUTF8


If I force tls 1.2 and set TLS_FALLBACK_SCSV, I then get the same error as the packet capture from the camera:

$ openssl s_client -tls1_2 -connect smtp.gmail.com:587 -fallback_scsv -starttls smtp
CONNECTED(00000003)
140147300115456:error:1409443E:SSL routines:ssl3_read_bytes:tlsv1 alert inappropriate fallback:ssl/record/rec_layer_s3.c:1536:SSL alert number 86
 
Yes, and it fails . . .
dahua-failed-email.jpg
 
Via this post, from Dahua support:

Thank you for your information, your case number 648255
In regards to your issue, Google email TLS protocol has been updated. Therefore, we are having compatibility issues. Because multiply product lines involve in this issue, they will give us the firmware fix and upgrade plan probably tomorrow.
We will keep you update Avi,
 
Via this post, from Dahua support:

Thank you for your information, your case number 648255
In regards to your issue, Google email TLS protocol has been updated. Therefore, we are having compatibility issues. Because multiply product lines involve in this issue, they will give us the firmware fix and upgrade plan probably tomorrow.
We will keep you update Avi,
Thanks, let's wait for further news from dahua, any firmware updated i will let guys know here.
 
I just noticed I have the same problem with my NVR5216, Haven't gotten anything from my gmail account since June 6. May want to sticky this thread as I'm sure many more people will be coming here looking for an answer.
 
@EMPIRETECANDY (You know me as Jay on skype) you can also add me to the list as all my NVR's and my customers NVR's and Cam's stopped sending out email alerts that I had setup using gmail. Only one is still working and that one is because I am not using gmail's smtp servers but my ISP's email smtp servers to send but using my Gmail address to receive. It continues to work and the test message works on that one, but fails on all the ones setup for gmail smtp. So for me this is the workout to use an ISP SMTP server until Dahua fixes this. I did also notice though that this is just a Dahua issue as a few days ago I set up a 4 year old Grandstream IP Camera for a customer to do Time Lapse Photography and I cam sending the images to a gmail address using the gmail smtp server and it still is working fine. Yet if I use those same settings on a Dahua cam or nvr it fails.