Not able to send Test Email

Status
Not open for further replies.

jsmakkar

Dabbler
Joined
Jul 6, 2012
Messages
19
Hi Guys,

I just upgraded to ver 8.2.0 release p1 and I am not able to send Test Email.
I am getting the message "Your test email could not be sent: [Errno 8] hostname nor servname provided, or not known".

Following are the settings:

- Root user does have an email address.
- From email: myemail@gmail.com
- Outgoing email server: smtp.gmail.com
- Port to connect to: 465
- TLS/SSL: SSL
- Use SMTP authentication: Checked
- Username: myemail@gmail.com
- Password and Password Confirmation: My gmail Password

I also tried Port 587 with TLS but still not working.

**Everything was working fine with Freenas 8.0.4

Any tips, thoughts, fix??
Thanks
 

phoenix

Explorer
Joined
Dec 16, 2011
Messages
52
Sending an email via gmail (either relaying to another mail server or directly to my gmail account) certainly works for me using port 587 and using TLS - are there any errors in your log files?
 

jsmakkar

Dabbler
Joined
Jul 6, 2012
Messages
19
Thanks for your reply phoenix.

I am totally new to this. I don't see any link in GUI to view log files and I am not conversant with shell commands :-/
 

jsmakkar

Dabbler
Joined
Jul 6, 2012
Messages
19
No Nameserver configured on Global Configuration Tab.
All three Nameserver fields are blank.
 

jsmakkar

Dabbler
Joined
Jul 6, 2012
Messages
19
Yes, I use DHCP.

Sorry, I don't know what name server I should be setting there. If you can tell me, I can do that right away. I am on my PC.
Thanks William!!!
 

jsmakkar

Dabbler
Joined
Jul 6, 2012
Messages
19
I just tried my router ip (192.168.1.1) as Nameserver 1.
Test email still not sent but error message changed to "Your test email could not be sent: [Errno 65] No route to host"
 

jsmakkar

Dabbler
Joined
Jul 6, 2012
Messages
19
Thanks Lucas but I have no knowledge of Shell Commands. I am looking for a solution from GUI itself.
 

jsmakkar

Dabbler
Joined
Jul 6, 2012
Messages
19
Hi guys... I don't know what exactly changed... but Test Emails are going thru' now... Weird!!
Thank you very much everybody for your support!!!
 

Greynoon

Cadet
Joined
Apr 17, 2017
Messages
2
Hello

Does anyone know more about the error 65 regarding the mails.
I having issues with said error.
Apparently no host connection.

Edit:
I tried with Yahoo instead of gmail and the error changed to 51.

Edit2:
I solved the issue.
Thanks to anyone that still might have bothered.
 
Last edited:

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410

tfran1990

Patron
Joined
Oct 18, 2017
Messages
294
Status
Not open for further replies.
Top