Telnet from Linux to the Exchange mail server to test mail sending

Source: Internet
Author: User

Telnet from Linux to the Exchange mail server to test mail sending
In Linux, we can use port 25 of the telnet Mail Server (generally this is the smtp Mail Server) to test whether the mail can be sent. The premise is that you must configure DNS or set the IP address corresponding to the email server domain name in the/etc/hosts file. The following red values must be entered. [Root @ erpt1 ~] # Telnet mail.xxx.com 25 Trying 10.10.1.127... connected to mail.dji.com (10.10.1.127 ). escape character is '^]'. 220 DJICAS02-IN.dji.com Microsoft esmtp mail Service ready at Thu, 24 Apr 2014 15:38:56 + 0800 500 5.3.3 Unrecognized commandehlo # initiate session 250-xxx.dji.com Hello250-SIZE sans NTLM LOGIN250-X-EXPS GSSAPI NTLM250- 8BITMIME250-BINARYMIME250-CHUNKING250 XRDSTauth login # login 334 login = # username, excluding domain name, base64 encrypted 334 bytes + # base64 encrypted 235 2.7.0 Authentication successful 500 5.3.3 Unrecognized commandmail from: workflowMailer@xxx.com # my email address 250 2.1.0 Sender OKrcpt to: weiyuan.feng@xxx.com # destination email address 250 2.1.5 Recipient OKdata # data indicates you want to enter the email data. 354 Start mail input; end with <CRLF>. <CRLF> subject: title1539 # topic abcd1539 # body. A dot number. Press enter. 250 2.6.0 <25aca9cf-a414-4587-933a-0f227b7fc7cc@DJIMAIL01-IN.xxx.com> [InternalId = 6713033883802] Queued mail for delivery

Install and configure the Postfix email service in CentOS 6.4

Install the mail server Postfix in CentOS 5.5

Build a Postfix email server for Red Hat Enterprise Linux 5.4

Postfix (authentication) for secure email servers in Linux)

Postfix redundancy solution for Exchange mail Transmission

This article permanently updates the link address:

Related Article

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.