to configure email address correctly for the root user.
Later from the system->email option, I tried to send a test mail. But it is throwing connection refused error as shown below.
Thanks for the reply. I tried to debug by using telnet in the shell, I see telnet is unable to connect.
Is it due to blocking from truenas or from SMTP server side? , how to fix this issue.
Thanks.
The issue was resolved and mail feature is working now.
The problem was that the network domain of our NAS and that of SMTP server were different.
Once SMTP and NAS network domain were put to same domain, now test mail feature works fine.