[SMTP] Telnet을 이용한 메일서버 테스트
2006. 3. 17. 19:14ㆍ일 이야기
텔넷을 이용해 SMTP(25) 메일 발송이 가능한지 테스트
------------------------------------------------------------------------------------
C:>nslookup
>set type=mx
>domain.com
C:>telnet mail.domain.com 25
220 mail.domain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.0 ready at Tue, 25 Jan 2005 22:57:57 +0900
helo
250 mail.domain.com Hello [210.96.xxx.xxx]
mail from: marine6309@gmail.com
250 2.1.0 marine6309@gmail.com....Sender OK
rcpt to: marine6309@gmail.com
250 2.1.5 marine6309@gmail.com
data
354 Start mail input; end with.
subject: telnet mail test <- 엔터 두 번
telnet mail test
.
250 2.6.0 <6ZYX20mgq00000002@mail.domain.com> Queued mail for delivery
quit
221 2.0.0 mail.domain.com Service closing transmission channel
호스트에 대한 연결을 잃었습니다.
------------------------------------------------------------------------------------
C:>nslookup
>set type=mx
>domain.com
C:>telnet mail.domain.com 25
220 mail.domain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.0 ready at Tue, 25 Jan 2005 22:57:57 +0900
helo
250 mail.domain.com Hello [210.96.xxx.xxx]
mail from: marine6309@gmail.com
250 2.1.0 marine6309@gmail.com....Sender OK
rcpt to: marine6309@gmail.com
250 2.1.5 marine6309@gmail.com
data
354 Start mail input; end with
subject: telnet mail test <- 엔터 두 번
telnet mail test
.
250 2.6.0 <6ZYX20mgq00000002@mail.domain.com> Queued mail for delivery
quit
221 2.0.0 mail.domain.com Service closing transmission channel
호스트에 대한 연결을 잃었습니다.