binarypower
Dabbler
- Joined
- Jun 18, 2011
- Messages
- 10
Ok, so I searched everywhere and had a lot of stumbles... but I missed the basic network config on my FreeNAS which prevented the email notifications from being sent out. I thought this would be a handy guide for those having the same problems.
Firstly, if you do a default setup, you can get everything to work even without a default route or dns entries being set. This is what noob-me did.... ive seen others with this same error too, with no resolution.
I was getting errno 8 'no route' and 61 'connection refused'
Some basics you wanna check (and yes i know this is the basic noob level stuff.... i just plain overlooked them myself):
Network > Global Configuration > IPv4 Default Gateway. Should be your gateway... somehow everything can work without it. It did for me, except the email.
Network > Global Configuration > Nameserver 1-3 DNS address, you can put your default gateway or just enter your favorite dns provider (like Google 8.8.8.8 or 8.8.4.4).
Back in System > Reporting > Email, for gmail make sure 'smtp.gmail.com' is used even if you have Google Hosted.
Check 'Use SMTP Authentication'
The username is username@domain.com for hosted or username@gmail.com for gmail (its important that you use @gmail.com)
Use SSL on port 465 for any gmail. I couldnt get TLS on port 587 to work for whatever reason.
Next, to actually get the email sent to the correct address (this was a real brain teaser)... go to Account > My Account > Change Admin User, update the email here then click "Change admin user". Why that is there, I'll never know. The UI could definitely be improved here.
PS - is there a page that shows the error numbers (errno x) for freenas?
Firstly, if you do a default setup, you can get everything to work even without a default route or dns entries being set. This is what noob-me did.... ive seen others with this same error too, with no resolution.
I was getting errno 8 'no route' and 61 'connection refused'
Some basics you wanna check (and yes i know this is the basic noob level stuff.... i just plain overlooked them myself):
Network > Global Configuration > IPv4 Default Gateway. Should be your gateway... somehow everything can work without it. It did for me, except the email.
Network > Global Configuration > Nameserver 1-3 DNS address, you can put your default gateway or just enter your favorite dns provider (like Google 8.8.8.8 or 8.8.4.4).
Back in System > Reporting > Email, for gmail make sure 'smtp.gmail.com' is used even if you have Google Hosted.
Check 'Use SMTP Authentication'
The username is username@domain.com for hosted or username@gmail.com for gmail (its important that you use @gmail.com)
Use SSL on port 465 for any gmail. I couldnt get TLS on port 587 to work for whatever reason.
Next, to actually get the email sent to the correct address (this was a real brain teaser)... go to Account > My Account > Change Admin User, update the email here then click "Change admin user". Why that is there, I'll never know. The UI could definitely be improved here.
PS - is there a page that shows the error numbers (errno x) for freenas?