senior_hombre
Explorer
- Joined
- Feb 11, 2012
- Messages
- 51
Hi,
iam trying to configure the freeNAS email settings to be able to get warnings and volume test results at my root email.
I have an own mailserver on a root server, which is configured for SSL/TLS.
To keep it simple for a first test i just used the account details of a already working email account on this server, by just copying the thunderbird configuration data over to the freeNAS email settings (yes i can send emails via thunderbird using the exact same configuration values):
this includes:
from email: root@freenas.local (i gave root an email adress on the user settings)
outgoing mail server: myserver.dom (exact the same as in thunderbird, but this is an example)
port: 465
TLS/SSL: TLS (on thunderbird i can directly select: SSL/TLS)
use smtp auth: yes
username: the same as in thunderbird
password: the same
After saving i hit the "send test mail button" and got the following error:
Your test email could not be sent: Connection unexpectedly closed: timed out
i looked into the maillog on the NAS:
then i looked at the maillog at my mailserver but there was no information about any attempt to reach the smtp service.
I have no experience with python, can anyone help me?
iam trying to configure the freeNAS email settings to be able to get warnings and volume test results at my root email.
I have an own mailserver on a root server, which is configured for SSL/TLS.
To keep it simple for a first test i just used the account details of a already working email account on this server, by just copying the thunderbird configuration data over to the freeNAS email settings (yes i can send emails via thunderbird using the exact same configuration values):
this includes:
from email: root@freenas.local (i gave root an email adress on the user settings)
outgoing mail server: myserver.dom (exact the same as in thunderbird, but this is an example)
port: 465
TLS/SSL: TLS (on thunderbird i can directly select: SSL/TLS)
use smtp auth: yes
username: the same as in thunderbird
password: the same
After saving i hit the "send test mail button" and got the following error:
Your test email could not be sent: Connection unexpectedly closed: timed out
i looked into the maillog on the NAS:
Code:
Aug 1 22:16:26 freenas freenas[2924]: Traceback (most recent call last): Aug 1 22:16:26 freenas freenas[2924]: File "/usr/local/www/freenasUI/../freen asUI/common/system.py", line 172, in send_mail Aug 1 22:16:26 freenas freenas[2924]: local_hostname=local_hostname) Aug 1 22:16:26 freenas freenas[2924]: File "/usr/local/lib/python2.7/smtplib. py", line 251, in __init__ Aug 1 22:16:26 freenas freenas[2924]: (code, msg) = self.connect(host, port ) Aug 1 22:16:26 freenas freenas[2924]: File "/usr/local/lib/python2.7/smtplib. py", line 312, in connect Aug 1 22:16:26 freenas freenas[2924]: (code, msg) = self.getreply() Aug 1 22:16:26 freenas freenas[2924]: File "/usr/local/lib/python2.7/smtplib. py", line 360, in getreply Aug 1 22:16:26 freenas freenas[2924]: + str(e)) Aug 1 22:16:26 freenas freenas[2924]: SMTPServerDisconnected: Connection unexpe ctedly closed: timed out
then i looked at the maillog at my mailserver but there was no information about any attempt to reach the smtp service.
I have no experience with python, can anyone help me?