cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2292
Views
15
Helpful
2
Replies

RV320 failing to e-mail logs through SMTP with most e-mail service providers

Dan Burget
Level 1
Level 1

I have the RV320 router with firmware v1.3.1.12 (2016-04-27, 10:46:12) and have not been able to get it to successfully e-mail logs (using the send now command to test) despite trying every possible set of SMTP server settings in the setup menu for multiple e-mail service providers.   I have tried the correct settings (tested from e-mail clients and even other LAN devices capable of sending logs, like a NAS) for Verizon, Gmail, and Outlook with no results on the RV320 with one exception.  The RV320 did connect with Gmail to send a log but only when using port 465 SSL AND setting Gmail preferences to allow "insecure devices" to login, which is not an acceptable workaround.   The router would not connect to Verizon using port 465 and SSL and would not work with Gmail nor Outlook with the preferred/common method of port 587 using TLS.   

The issue seems to be a failure or lack of capability of the RV320 to properly negotiate an SMTP session using the now common and required STARTTLS SMTP security handshake.   Interestingly, I tried a free online SMTP TLS test relay site to receive the SMTP commands from my router as the "man in the middle"  and pass them on to Outlook while logging the session for diagnostics.  Then it worked and the e-mail was sent, but apparently because the relay server negotiated the STARTTLS handshake with Outlook's SMTP server after receiving the SMTP commands from my router.  This rules out issues with my WAN connection and points to what the RV320 is trying to do when interacting with the SMTP servers.

I have a case open with small business support that has been elevated and now they want me to capture LAN and WAN packets and send them (not sure why LAN because the RV320 communicates with SMTP servers on the WAN side).  This is going to be time consuming and pointless in my opinion because I was hoping this can be simply be replicated in the lab with another RV320 with the latest firmware trying to connect to any common ISP/e-mail provider via SMTP.   If it doesn't work on a test RV320 with this firmware that can be known in 5 minutes.  In the mean time it would be great to hear from anyone experiencing the same issue using this firmware and what the resolution was.

UPDATE:

WAN packet captures show that the RV320 wont even try to initiate an SMTP session with the SMTP server unless it responds to a ping request from the router.  Outlook and Verizon SMTP servers do not respond to ping so the RV320 aborts.  Gmail's SMTP servers do respond to ping, so the RV320 starts a SMTP with TLS session on port 587 but then gmail rejects the connection as coming from an "out of date" or less secure device.

2 Replies 2

Brent Done
Level 1
Level 1

Just installed the RV320 and I was having the same problem...thanks for your analysis....I thought I was going insane trying to get the email sending to work.

Your comments about the Gmail "insecure devices" gave me the clue I needed. I got Gmail working (smtp.gmail.com / TLS / 587) by adding 2-factor authetication to the gmail account, then using the "App Password" feature to generate a unique password specific to the RV320. Works like a charm now.

My RV320 came with  v1.1.1.19 (2014-12-01, 12:38:04)...I'll have to get this updated ASAP...

Thanks for the tip!      By using non-standard port 587, instead of port 465, along with an application-specific (unique) password which I generated at my Google Account Page, I finally succeeded in getting my new RV340 to sent out g-mails.    Yikes, why did this have to be so difficult?       The Cisco manual surely glossed over this.        Otherwise I used plain text authentication, and TLS/SSL encryption... all very standard for g-mail.