telnet to mail server from outside does not get 220, telnet from inside works

brad davison demonichandextensions at
Mon May 12 14:16:36 UTC 2008

Is there something I need to configure in telnetd or sendmail to allow 'outside' IP addresses to telnet to the mail server and get a 220 response?

When I 'telnet localhost 25' i get:

email# telnet localhost 25
Trying ::1...
Connected to
Escape character is '^]'.
220 ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT)

But if I try the same thing from 'outside' the firewall I get:

%telnet 25
Trying 67.x.x.x...
Connected to
Escape character is '^]'.
Connection closed by foreign host.

Certain servers are having problems sending to the server because they are not getting a 220 code back.  Most email is sent/received from the server no problem.  It has been running in production for over a year.

Any ideas?


Windows Live SkyDrive lets you share files with faraway friends.

More information about the freebsd-questions mailing list