昨天和邮件组的同事调试邮件relay功能,提供了测试smtp邮件服务器命令:
黑体是输入的命令,[email protected]是你的邮件地址.
若你收到一封测试邮件,可能在垃圾邮件目录中,说明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:[email protected]
250 2.1.0 Sender OK
rcpt to:[email protected]
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 <[email protected]> [InternalId=22516] Queued mail for delivery