Support on SonicWall Products, Services and Solutions
Browse Knowledgebase by Category
Logs fail to be exported to email address with error: "Failed to connect to SMTP Server"
03/26/2020 30 15598
After configuring Log automation on the appliance, no logs are being sent to your email address. When trying to export logs manually you receive an error "Failed to connect to SMTP Server"
Issue occurs when both the SMTP mail server name or mail server IP address is entered in the log automation settings as seen below:
After you have confirmed that there is no issue with network connectivity between the Sonicwall and the SMTP server, follow the steps below:
- Open a command prompt/terminal on your workstation.
- Run the commands below for your email domain:
# set q=mx
# sonicwall.com(enter your own domain here)
- Configure 'Mail Server' settings with result from above command as per screen shot below:
Go to Manage | Log Settings | Automation
In this example we use 'mail.sonicwall.com'
4. Test by manually exporting logs to your email address. Click Investigate in the top navigation menu and go to Event Logs.