Работа с почтовым ящиком через Telnet

Posted by admin on Jan 21, 2010 in Удаленные сервисы |

Отправляем, просматриваем и принимаем письма через Telnet …

отправляем почту для saygak@ukr.net через почтовый сервер smtp.voliacable.com

telnet smtp.voliacable.com 25
Trying 82.144.192.38…
Connected to mail.voliacable.com.
Escape character is ‘]’.
220 mail.voliacable.com ESMTP Sendmail 8.12.9/8.12.9; Thu, 6 Jan 2005 00:50:47 +0200 (EET)
mail from:saygak@voliacable.com
250 2.1.0 saygak@voliacable.com… Sender ok
rcpt to:saygak@ukr.net
250 2.1.5 saygak@ukr.net… Recipient ok
data
354 Enter mail, end with “.” on a line by itself
From:saygak@voliacable.com
To: saygak@ukr.net Subject: Test letter Test Sincerely yours, Michael .
250 2.0.0 j05Moloq006122 Message accepted for delivery
quit
221 2.0.0 mail.voliacable.com closing connection
Connection closed by foreign host.

Получаем почту с почтового сервера Ukr.Net

telnet freemail.ukr.net 110
Trying 212.42.65.68…
Connected to freemail.ukr.net.
Escape character is ‘]’.
+OK mPOP POP3 server ready <51152.1104965808@ukr.net>

user saygak
+OK Password required for user saygak
pass MyPassword
+OK saygak’s maildrop has 5 messages (9471 octets)
list
+OK 5 messages (9471 octets)
1 1108
2 3591
3 2701
4 1197
5 874
.

retr 5
+OK 874 octets
From saygak@voliacable.com Thu Jan 06 00:52:35 2005
Return-path:
Received: from sled.volia.net ([82.144.192.38] helo=mail.voliacable.com)
by mx-1.ukr.net with esmtp ID 1CmK15-000Ep6-9T
for saygak@ukr.net; Thu, 06 Jan 2005 00:52:35 +0200
Received: from nowhere.com (nowhere.com [10.10.10.10])
by mail.voliacable.com (8.12.9/8.12.9) with SMTP id j05Moloq006122
for saygak@ukr.net; Thu, 6 Jan 2005 00:51:45 +0200 (EET)
Date: Thu, 6 Jan 2005 00:50:47 +0200 (EET)
From: saygak@voliacable.com
Message-Id: <200501052251.j05Moloq006122@mail.voliacable.com>
X-Authentication-Warning: sled.volia.net: nowhere.com [10.10.10.10] didn’t use HELO protocol
To: saygak@ukr.net
Subject: Test letter
Test
Sincerely yours,
Michael
.
dele 5
+OK message 5 deleted
quit
+OK POP3 server at ukr.net signing off
Connection closed by foreign host.

Источник: http://v90.kiev.ua Спасибо автору.

Copyright © 2018 Заметки по UNIX All rights reserved.
Desk Mess Mirrored v1.4.3.1 theme from BuyNowShop.com.