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