Try sending messages from Linux telnet to Exchange mail server

Source: Internet
Author: User

Under Linux, we can test whether a message can be sent by 25port (which is typically the SMTP mail server) in Telnet mail server. The premise is that DNS should be properly provisioned, or the/etc/hosts file should have the appropriate IP address for the mail server domain name.
The red ones below are all to be entered.
[Email protected] ~]# telnet mail.xxx.com 25Trying 10.10.1.127...Connected to Mail.dji.com (10.10.1.127). Escape character is ' ^] '. djicas02-in.dji.com Microsoft ESMTP MAIL Service in Thu, 2014 15:38:56 +0800500 5.3.3 Unrecognized commandEHLO #发起会话250-xxx.dji.com hello250-size 37748736250- Pipelining250-dsn250-enhancedstatuscodes250-starttls250-x-anonymoustls250-auth NTLM LOGIN250-X-EXPS GSSAPI ntlm250-8bitmime250-binarymime250-chunking250 XRDSTAuth Login #登陆334 Vxnlcm5hbwu6v29ya2zsb3dnywlszxi= #username, not including domain name, base64 encryption334 Ugfzc3dvcmq7yxnkzmdonzd+ #passwordbase64加密235 2.7.0 authentication successful500 5.3.3 Unrecognized commandMail From:[email protected] #我的邮件地址2.1.0 Sender OKrcpt To:[email protected] #目标邮件地址2.1.5 Recipient OKdata #data代表要输入邮件数据了. 354 Start mail input; End With <CRLF>.<CRLF>subject:title1539 #主题abcd1539 #正文. A dot, a carriage return is possible. 2.6.0 <[email protected]> [internalid=6713033883802] Queued mail for delivery

To test sending messages from Linux telnet to Exchange mail server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.