原帖由 13319085 于 2008-11-28 13:54 发表
[root@mail ~]# telnet mail.***.com 25
Trying 59.*.*1**...
Connected to mail.***.com (59.*.*.1**).
Escape character is '^]'.
220 mail.****.com ESMTP Postfix
helo mail.sina.com
250 mail.***.c ...
mail from:<zhang###@sina.com>
250 2.1.0 Ok
rcpt to:<root@###.com>
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = ''
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, reject_unauth_destination
broken_sasl_auth_clients=yes
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sasl_security_options = noanonymous
如果服务器smtp需要验证,helo完要输入
AUTH LOGIN
提示
334 VXNlcm5hbWU6 即 Username:
和 334 UGFzc3dvcmQ6 即 Password:
后边的内容是提示输入用户名和口令,信息是经过base64编码的
输入的用户名和口令也要经过编码。
smtp认证通过后会显示
235 2.0.0 Authentication successful
mynetworks = 192.168.0.0/24, 192.168.1.0/24, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |