POP3 Commands
telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready.
user <NAME>
+OK
pass <PASSWORT>
+OK Logged in.
stat
Überblick über Mails
+OK 7 3083
list
Liste der Mails anzeigen
+OK 7 messages: 1 322 2 466 3 459 4 459 5 459 6 459 7 459 .
retr
Mail anzeigen
top
Mailheader anzeigen
und X Zeilen des Mailtextes
nur den Header der 7. Mail anzeigen: top 7 0
dele
Mail löschen
Mails werden erst zum löschen markiert. Gelöscht wird erst beim Abmelden.
+OK Marked to be deleted.
quit
+OK Logging out. Connection closed by foreign host.
Ablauf Anmelden und Mail anzeigen
server:~ # telnet 172.42.42.11 110
Trying 172.42.42.11...
Connected to 172.42.42.11.
Escape character is '^]'.
+OK Dovecot ready.
user rudi
+OK
pass test123
+OK Logged in.
list
+OK 2 messages:
1 438
2 322
.
retr 1
+OK 438 octets
Return-Path:
X-Original-To: rudi
Delivered-To: rudi@mail.mg-it.net
Received: from localhost (localhost [127.0.0.1])
by mail.mg-it.net (Postfix) with SMTP id 63E1DCE3B5
for ; Tue, 6 Jan 2015 11:27:30 +0100 (CET)
Message-Id: <20150106102738.63E1DCE3B5@mail.mg-it.net>
Date: Tue, 6 Jan 2015 11:27:30 +0100 (CET)
From: willi@test.de
Hallo,
das ist der Text.
.
quit
+OK Logging out.
Connection closed by foreign host.
server:~ #
server:~ # telnet 172.42.42.11 110 Trying 172.42.42.11... Connected to 172.42.42.11. Escape character is '^]'. +OK Dovecot ready. user rudi +OK pass test123 +OK Logged in. list +OK 2 messages: 1 438 2 322 . retr 1 +OK 438 octets Return-Path:X-Original-To: rudi Delivered-To: rudi@mail.mg-it.net Received: from localhost (localhost [127.0.0.1]) by mail.mg-it.net (Postfix) with SMTP id 63E1DCE3B5 for ; Tue, 6 Jan 2015 11:27:30 +0100 (CET) Message-Id: <20150106102738.63E1DCE3B5@mail.mg-it.net> Date: Tue, 6 Jan 2015 11:27:30 +0100 (CET) From: willi@test.de Hallo, das ist der Text. . quit +OK Logging out. Connection closed by foreign host. server:~ #