解决方式,重装一下telnet客户端。
centos、ubuntuyum
[root@mail ~]# yum install telnet-server
Loaded plugins: fastestmirror, security
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
epel/metalink | 4.2 kB 00:00
* base: mirrors.163.com
* epel: ftp.cuhk.edu.hk
* extras: mirrors.163.com
* rpmforge: ftp.neowiz.com
* updates: mirrors.163.com
yum
[root@mail ~]# yum install telnet.*
Loaded plugins: fastestmirror, security
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: ftp.cuhk.edu.hk
* extras: mirrors.163.com
* rpmforge: ftp.neowiz.com
* updates: mirrors.163.com
[root@mail ~]# telnet 127.0.0.1 10024
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready