Code:
FreeBSD my.domain.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009
[email]root@walker.cse.buffalo.edu[/email]:/usr/obj/usr/src/sys/GENERIC i386
Testing a Qmail SMTP installation with Telnet
(normally use SSH for networking)
Temporary Telnet set up for testing ==>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Server set up ==>
Code:
% cat /etc/services | grep telnet
telnet 23/tcp
telnet 23/udp
% cat /etc/services | grep smtp
smtp 25/tcp mail #Simple Mail Transfer
smtp 25/udp mail #Simple Mail Transfer
% cat /etc/rc.conf
inetd_enable="YES"
But
Code:
% telnet 0 smtp
0: servname not supported for ai_socktype
% telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection reset by peer
Trying ::1...
telnet: connect to address ::1: Connection refused
telnet: Unable to connect to remote host
Do I have to add
Code:
telnetd_enable="YES"