Windows

smtp 인증 테스트 방법

Naan 2017. 2. 14. 15:19
반응형

smtp 인증 테스트 방법이다.



실패된 경우

# telnet smtp.office365.com 25

Connected to chipsnmedia-com.mail.protection.outlook.com (111.122.133.144).

Escape character is '^]'.

220 smtp.office365.com Microsoft ESMTP MAIL Service ready at Tue, 14 Feb 2017 05:38:59 +0000

helo

250 HK2PR04CA0040.outlook.office365.com Hello [111.122.133.144]

mail from:test@microsoft.com

530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM

호스트에 대한 연결을 잃었습니다.


111.122.133.144 IP는 등록이 안되있는 서버라서 위와 같이 에러가 뜨면서 메일이 안보내진다.



정상적으로 된 경우

# telnet smtp.office365.com 25

Connected to chipsnmedia-com.mail.protection.outlook.com (111.122.133.145).

Escape character is '^]'.

220 PU1APC01FT061.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Tue, 14 Feb 2017 05:39:53 +0000

helo

250 PU1APC01FT061.mail.protection.outlook.com Hello [111.122.133.145]

mail from : test@microsoft.com

250 2.1.0 Sender OK

rcpt to : test@microsoft.com

250 2.1.5 Recipient OK

data

354 Start mail input; end with <CRLF>.<CRLF>

cccc

vvvv

qqqq

.

250 2.6.0 <061.eop-APC01.prod.protection.outlook.com> [InternalId=99339, Hostname=smpt.outlook.com] 6348 bytes in 0.205, 30.114 KB/sec Queued mail for delivery

451 4.7.0 Timeout waiting for client input

Connection closed by foreign host.


111.122.133.145 IP는 등록이 되어 있는 서버라 정상적으로 메일이 보내진다.

반응형