[root@mail ~]# useradd zxa[root@mail ~]# echo '123456' |passwd --stdin zxa
Changing password for user zxa.
passwd: all authentication tokens updated successfully.
安装 Telnet 服务
[root@mail ~]# yum -y install telnet
测试
[root@mail ~]# telnet mail.testmail.com 25
Trying 172.16.1.27...
Connected to mail.testmail.com.
Escape character is '^]'.
220 mail.testmail.com ESMTP Postfix
mail from:zxz^Ha
250 2.1.0 Ok
rcpt to:2803894114@qq.com
250 2.1.5 Ok