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,