Telnet from linux to the exchange mail server to test the mail sending, telnetexchange

Source: Internet
Author: User

Telnet from linux to the exchange mail server to test the mail sending, telnetexchange
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 + 0800500 5.3.3 Unrecognized commandehlo # initiate session 250-xxx.dji.com Hello250-SIZE sans NTLM LOGIN250-X-EXPS GSSAPI NTLM250-8 BITMIME250-BINARYMIME250-CHUNKING250 XRDSTauth login # login 334 login = # username, does not contain domain name, base64 encryption 334 UGFzc3dvcmQ7YXNkZmdoNzd + # password base64 encryption 235 2.7.0 Authentication successful500 5.3.3 Unrecognized commandmail: 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
When the telnet mail server sends an email,

The mail server should have the option to reject sending an email to a nonexistent address. Only after enabling the email will the system return the error code.

In linux, how does one assume that the exchange mail server

Exchange is a microsoft software and cannot be used in linux. There are many mail Server Software in linux,
 

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.