#1041 closed defect (fixed)

Connection refused on Send test email

Reported by: picante Owned by:
Priority: major Milestone:
Component: Backend Version: 8.0.2-RELEASE
Keywords: Cc:

Description

Hi team,
Thanks to everyone for putting time on this project.
I have recently started to use FreeNas?, one of the fetures that I have tried to use is email alerts.
When I try and send a test email from Settings-->Email, I ge the following message:
"Your test email could not be sent: [Errno 61] connection refused"

After a little bit of troubleshooting, a network trace showed the following:

FreeNas?: <connects to port 25 on the SMTP server>
SMTP server responce: 220 atlas.wxnz.net ESMTP Postfix
FreeNas?: <Sends FIN,ACK, closing the connection>

It would almost appear that FreeNAS does not know what to do with that type of SMTP response.

I will investigate further to remove any firewalls that might be in place.

Change History (8)

comment:1 Changed 18 months ago by picante

I can confirm that without firewalls on the way the issue is still there.

comment:2 Changed 18 months ago by gcooper

What do you require when sending messages? SMTP authentication? TLS? SSL? etc?

comment:3 Changed 18 months ago by picante

The SMTP server that I'm using only requires IP authentication, it is seamless to the client. In my configuration i'm not using authentication and both TLS and plain encryption have the same behavior. SSL encryption shows this message. I don't think that ISP's SMTP server supports it, I'm sure it supports plan encryption.

Your test email could not be sent: [Errno 1] _ssl.c:503: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol.
I'm familiar with the low level SMTP commands, via a windows device I would try a telnet session from the client to the server. But I don't think that there is a telnet client from freenas, if there is let me know and I can try the raw commands.

Last edited 18 months ago by picante (previous) (diff)

comment:4 Changed 17 months ago by gcooper

Could you try again with either a recent nightly image or the 8.0.3 BETA images to see if my minor changes to the email system have fixed the issues that you're seeing here?

comment:5 follow-up: Changed 17 months ago by picante

Hi I tried FreeNAS-8.2-r9082-amd64.iso but I could not load the web interface, I am able to ping the host but unable to telnet to port 80 on it.

comment:6 in reply to: ↑ 5 Changed 17 months ago by gcooper

Replying to picante:

Hi I tried FreeNAS-8.2-r9082-amd64.iso but I could not load the web interface, I am able to ping the host but unable to telnet to port 80 on it.

Please test on 8.0.3 instead if possible and avoid jumping into the trunk fray for now unless you have time to file bugs for traceback issues (the GUI's a bit under 'construction' right now -- you can find helpful traceback error logs in /var/log/lighttpd.error.log).

comment:7 Changed 17 months ago by picante

Hi, I have tested on FreeNAS-8.0.3-RC1-x64 (9250)
The issue has been resolved on the this version, Thanks.

comment:8 Changed 16 months ago by gcooper

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.