My setup is a RasPi(3) running HA 0.89.1. under Hass.IO.
I have a smtp notify service set up and it has been working well for over a year. About a week ago I noticed an error like the one shown which occurs just after startup in the log file. I think this means HA can’t even reach the SMTP server but I am not sure of this. From the RasPi host I can ping or nslookup the SMTP server with no problem. The rest of HA seems to work fine and I can access HA fine either locally or thru a duckdns address. The inability to use the SMTP notifiy services seems to be the only problem.
From log file:
> 2020-10-07 17:35:19 ERROR (SyncWorker_10) [homeassistant.components.notify.smtp] SMTP server not found (smtpauth.earthlink.net:587). Please check the IP address or hostname of your SMTP server
> Traceback (most recent call last):
> File "/usr/local/lib/python3.7/site-packages/homeassistant/components/notify/smtp.py", line 120, in connection_is_valid
> server = self.connect()
> ...
> socket.gaierror: [Errno -3] Try again
I have a USB stick with the my_network file using a wireless connection. For the [ipv4] section I have always had
> [ipv4]
> method=auto
which as I said, worked fine for over a year. Today I tried changing to
> [ipv4]
> method=manual
> address=192.168.19.105/24;192.168.10.1
> dns=8.8.8.8;8.8.4.4;
but that did not seem to make any difference. I still get the “SMTP server not found” error. Not sure what to investigate next…