the email is not working correctly - i hit the send test email button 10 times and it worked 3 times - the other 7 i got this error -
- Your test email could not be sent: [Errno 8] hostname nor servname provided, or not known
i haven't changed anything. it should either always work or always fail. .i copied this from the console -
rrno 8] hostname nor servname provided, or not known
May 25 13:45:16 freenas freenas[3055]: Traceback (most recent call last):
May 25 13:45:16 freenas freenas[3055]: File "/usr/local/www/freenasUI/../freenasUI/common/system.py", line 173, in send_mail
May 25 13:45:16 freenas freenas[3055]: local_hostname=local_hostname)
May 25 13:45:16 freenas freenas[3055]: File "/usr/local/lib/python2.7/smtplib.py", line 781, in __init__
May 25 13:45:16 freenas freenas[3055]: SMTP.__init__(self, host, port, local_hostname, timeout)
May 25 13:45:16 freenas freenas[3055]: File "/usr/local/lib/python2.7/smtplib.py", line 251, in __init__
May 25 13:45:16 freenas freenas[3055]: (code, msg) = self.connect(host, port)
May 25 13:45:16 freenas freenas[3055]: File "/usr/local/lib/python2.7/smtplib.py", line 311, in connect
May 25 13:45:16 freenas freenas[3055]: self.sock = self._get_socket(host, port, self.timeout)
May 25 13:45:16 freenas freenas[3055]: File "/usr/local/lib/python2.7/smtplib.py", line 786, in _get_socket
May 25 13:45:16 freenas freenas[3055]: new_socket = socket.create_connection((host, port), timeout)
May 25 13:45:16 freenas freenas[3055]: File "/usr/local/lib/python2.7/socket.py", line 553, in create_connection
May 25 13:45:16 freenas freenas[3055]: for res in getaddrinfo(host, port, 0, SOCK_STREAM):
May 25 13:45:16 freenas freenas[3055]: gaierror: [Errno 8] hostname nor servname provided, or not known
May 25 13:45:23 freenas freenas[3055]: Traceback (most recent call last):
May 25 13:45:23 freenas freenas[3055]: File "/usr/local/www/freenasUI/../freenasUI/common/system.py", line 173, in send_mail
May 25 13:45:23 freenas freenas[3055]: local_hostname=local_hostname)
May 25 13:45:23 freenas freenas[3055]: File "/usr/local/lib/python2.7/smtplib.py", line 781, in __init__
May 25 13:45:23 freenas freenas[3055]: SMTP.__init__(self, host, port, local_hostname, timeout)
May 25 13:45:23 freenas freenas[3055]: File "/usr/local/lib/python2.7/smtplib.py", line 251, in __init__
May 25 13:45:23 freenas freenas[3055]: (code, msg) = self.connect(host, port)
May 25 13:45:23 freenas freenas[3055]: File "/usr/local/lib/python2.7/smtplib.py", line 311, in connect
May 25 13:45:23 freenas freenas[3055]: self.sock = self._get_socket(host, port, self.timeout)
May 25 13:45:23 freenas freenas[3055]: File "/usr/local/lib/python2.7/smtplib.py", line 786, in _get_socket
May 25 13:45:23 freenas freenas[3055]: new_socket = socket.create_connection((host, port), timeout)
May 25 13:45:23 freenas freenas[3055]: File "/usr/local/lib/python2.7/socket.py", line 553, in create_connection
May 25 13:45:23 freenas freenas[3055]: for res in getaddrinfo(host, port, 0, SOCK_STREAM):
May 25 13:45:23 freenas freenas[3055]: gaierror: [Errno 8] hostname nor servname provided, or not known