标签:邮件服务器 smtp mail relay 邮件服务测试;mail server
昨天和邮件组的同事调试邮件relay功能,提供了测试smtp邮件服务器命令:
黑体是输入的命令,yourmailname@ABC.com是你的邮件地址.
若你收到一封测试邮件,可能在垃圾邮件目录中,说明smtp邮件服务器正常
SEAMXRelay.ABC.com(10.52.124.25): relay mail server
25: smpt port number
在你的电脑上输入以下加黑的命令:
> telnet 10.52.124.15 25
220 PWGSMSKLCREL02.mail.ABC.net Microsoft ESMTP MAIL Service ready at Tue, 2 Dec
2014 10:00:36 +0800
ehlo
250-PWGSMSKLCREL02.mail.ABC.net Hello [10.64.97.166]
250-SIZE 20971520
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH
250-8BITMIME
250-BINARYMIME
250 CHUNKING
mail from:test@testing.com
250 2.1.0 Sender OK
rcpt to:yourmailname@ABC.com
250 2.1.5 Recipient OK
data
354 Start mail input; end with <CRLF>.<CRLF>
subject: this is a AAAA test mail
testing....
.
250 2.6.0 <e3481bff-b2cb-4ab6-8796-95ef23af6b5a@PWGSMSKLCREL02.mail.ABC.net> [InternalId=22516] Queued mail for delivery
本文出自 “gulljj.sina.com.cn” 博客,请务必保留此出处http://161260.blog.51cto.com/151260/1585818
标签:邮件服务器 smtp mail relay 邮件服务测试;mail server
原文地址:http://161260.blog.51cto.com/151260/1585818