telnet을 이용한 메일 테스트

· 13년 전 · 2323
 1. telnet 입력 

telnet x.x.x.x 25
Trying x.x.x.x...
Connected to x.x.x.x(x.x.x.x).
Escape character is '^]'.
220 x.x.x.x ESMTP
 
                    
2. helo me 입력

helo me
250 x.x.x.x

3. mail from:email@domain.com을 입력

mail from:xxx@x.x
250 ok

                    
4. rcpt to:youremail@yourdomain.com을 입력


rcpt to:xxx@x.x
250 ok


5. Data를 입력


Data
354 go ahead

6. Subject:mail test


7.내용 입력

Subject:mail test
Test
Test
Test

8. Enter 키를 누르고 마침표(.)를 입력

.
250 ok 1328311272 qp 18723

10. quit를 입력

quit
221 x.x.x.x
Connection closed by foreign host.


메일 확인

아래처럼 메일이 도착했네요.
Return-Path: <xxx@x.x>
Delivered-To: xxx@x.x
Received: (qmail 18724 invoked by uid 1001); 4 Feb 2012 08:19:51 +0900
Hanbiro-rcptto: xxx@x.x|
Hanbiro-remoteip: x.x.x.x ---> telnet 실행한 쪽 아이피
Received: from unknown (HELO me) (x.x.x.x) ---> telnet 실행한 쪽 아이피
by 0 (qmail xxxxx) with SMTP;
4 Feb 2012 08:19:51 +0900
Received-SPF: unknown ip:x.x.x.x (0: SPF record at x.x uses mechanism not recognized by this client)
Subject:mail test
Test
Test
Test

 
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

개발자팁

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
Linux 13년 전 조회 2,803
Linux 13년 전 조회 1,310
Linux 13년 전 조회 1,798
PHP 13년 전 조회 1,743
Linux 13년 전 조회 1,591
Linux 13년 전 조회 1,305
Linux 13년 전 조회 1,776
Linux 13년 전 조회 1,869
Linux 13년 전 조회 1,387
JavaScript 13년 전 조회 5,218
Linux 13년 전 조회 2,775
Linux 13년 전 조회 1,348
Linux 13년 전 조회 1,388
Linux 13년 전 조회 1,540
Linux 13년 전 조회 2,324
Linux 13년 전 조회 1,914
JavaScript 13년 전 조회 2,214
Linux 13년 전 조회 2,486
MySQL 13년 전 조회 2,648
Linux 13년 전 조회 4,100
MySQL 13년 전 조회 3,612
Linux 13년 전 조회 1.4만
Linux 13년 전 조회 1,996
Linux 13년 전 조회 2,183
Linux 13년 전 조회 1,251
Linux 13년 전 조회 2,010
MySQL 13년 전 조회 2,618
Linux 13년 전 조회 2,012
Linux 13년 전 조회 2,108
Linux 13년 전 조회 1,525
🐛 버그신고