Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Normal POP3/SMTP operation

Author:mike - Sun Aug 29 22:03:10 2004

Reff til post nr 33 af BT Normal SMTP operation

Vi telnetter til POP3 serveren:
bash-2.05b$ telnet 192.168.10.180 110
Trying 192.168.10.180...
Connected to 192.168.10.180.
Escape character is '^]'.
+OK <2833.1090064063@unifix.org>
user test@test.com
+OK 
pass testpass
+OK 
stat
+OK 0 0
quit
+OK 
Connection closed by foreign host.
Faar at vide at der ingen mail er , foerste 0-tal, og at de tilsammen fylder 0 bytes, det andet nul-tal. Nu sender vi en mail til test@test.com

bash-2.05b$ telnet 192.168.10.180 25 
Trying 192.168.10.180...
Connected to 192.168.10.180.
Escape character is '^]'.
220 unifix.org ESMTP
helo testbox.com
250 unifix.org
mail from: test@testbox.com
250 ok
rcpt to: test@test.com
250 ok
data
354 go ahead
Dette er en SMTP test, du har nu en email
.
250 ok 1090064149 qp 2839
quit
221 unifix.org
Connection closed by foreign host.
Der ligger nu en mail i test@test.com's maildir.

bash-2.05b$ telnet 192.168.10.180 110
Trying 192.168.10.180...
Connected to 192.168.10.180.
Escape character is '^]'.
+OK <2843.1090064162@unifix.org>
user test@test.com
+OK 
pass testpass
+OK 
stat
+OK 1 291
   --   Vi faar at vide vi har 1 mail der fylder 291 bytes.
list
+OK 
1 291
.
   --   En liste over alle mails paa kontoen, mail nr 1 fylder 291 bytes
retr 1
+OK 
Return-Path: <test@testbox.com>
Delivered-To: test@test.com
Received: (qmail 2839 invoked from network); 17 Jul 2004 11:35:41 -0000
Received: from unknown (HELO testbox.com) (192.168.10.121)
  by 192.168.10.180 with SMTP; 17 Jul 2004 11:35:41 -0000
Dette er en SMTP test, du har nu en email

.
    --  Og saaledes fik vi indholdet af mail nr 1

Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk