Site icon 지락문화예술공작단

telnet 을 이용한 smtp 릴레이(relay) 테스트

1. 발송과정 (노란색 표시가 실제입력)

root@ns1:~
14:37:17 # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 ns1.greatuser.net ESMTP
ehlo
250-ns1.greatuser.net
250-STARTTLS
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-PIPELINING
250 8BITMIME
mail from: webmaster@greatuser.net
250 ok
rcpt to: hosting@jirak.net
250 ok
data
354 go ahead
From: webmaster@greatuser.net
To: hosting@jirak.net
Subject: This is mail test on telnet

kekekeke
hahahaha
-_-;;;;;;
.
250 ok 1259473124 qp 21929
quit
221 ns1.greatuser.net
Connection closed by foreign host.

 

2. 발송후 수신된 메세지원본

Return-Path: <webmaster@greatuser.net>
Delivered-To: hosting@jirak.net
Received: (qmail 19348 invoked by uid 1001); 29 Nov 2009 14:38:43 +0900
Hanbiro-rcptto: hosting@jirak.net|
Hanbiro-remoteip: 210.100.100.XXX
Received: from unknown (HELO ns1.greatuser.net) (210.100.100.XXX)
by 0 (qmail 1.03 + ejcp v14) with AES256-SHA encrypted SMTP;
29 Nov 2009 14:38:43 +0900
Received-SPF: pass (0: SPF record at greatuser.net designates 210.100.100.XXX as permitted sender)
Received: (qmail 21929 invoked by uid 11001); 29 Nov 2009 14:38:01 +0900
Received: from unknown (HELO ) (127.0.0.1)
by 0 (qmail 1.03 + ejcp v14) with SMTP;
29 Nov 2009 14:38:01 +0900
From: webmaster@greatuser.net
To: hosting@jirak.net
Subject: This is mail test on telnet

kekekeke
hahahaha
-_-;;;;;;

 

Exit mobile version