[ LUGOS ] FetchMail

Franc franc na eurocom.si
Sre Mar 10 13:53:10 CET 1999


Obstaja se kar nekaj ukazov za pop.

Za gledanje uporabi: TOP
 
The TOP command is used to display a given message's headers and any
number of lines of the body text of the message.
 
   Syntax : TOP SP <message number> SP <nn> CRLF
   Expected Responses : +OK (top of message follows)
                        -ERR (no such message)
 
The <message number> argument specifies which message the user would like
to see the TOP of. The <nn> argument is a non-negative integer value
indicating the number of lines of the message to be sent.
 
If <number of lines> is zero, only the message's headers will be sent by
the host.
 
If <number of lines> is greater than zero the message headers, a blank
line, and then 'nn' lines of the message will be sent by the host.

Za brisanje uporabi: DELE
 
The DELE command is used to by the POP3 client to remove a message from
the mail drop.
 
   Syntax : DELE SP <message number> CRLF
   Expected Responses : +OK (message deleted)
                        -ERR (message already deleted)
                        -ERR (no such message)
 
When the DELE command is issued, the message referenced in the argument is
marked for deletion, it hasn't actually been removed from the mail drop
yet. The significance of being marked for deletion is that the client can
no longer issue a command with that message's number as an argument, any
such attempt will generate an error.
 
The DELE command can be countermanded if the client issues the RSET
command, which is covered later. The command sequence below illustrates
the use and effect of the DELE command.
 
   H: +OK pop3.host.com POP3 server ready
   .
   . <client logs into the POP3 host>
   .
   H: +OK user's mail drop has 1 messages (476 octets)
   C: LIST 1
   H: +OK 1 476
   C: DELE 1
   H: +OK Message 1 deleted.
   C: RETR 1
   H: -ERR Message 1 was deleted.
   C: RSET
   H: +OK user's mail drop has 1 messages (476 octets)
   C: LIST 1
   H: +OK 1 476
   .
   . <session continues>
   .
   C: QUIT
   H: +OK pop3.host.com closing connection. Good Night.

Omenjen je tudi ukaz: RSET
 
If there are any messages marked for deletion, the RSET command
'undeletes' them. An example of the command is above, and the syntax for
the command is below.
 
   Syntax : RSET CRLF
   Expected Response : +OK
 
The POP3 specification [1] does not mandate that any information follow
the '+OK' portion of the response. There is no provision for an -ERR
response, the server must respond with the positive reply.

lp, Franc.

> -----Original Message-----
> From: owner-lugos-list na www.lugos.si
> [mailto:owner-lugos-list na www.lugos.si]On Behalf Of Igor
> Sent: Wednesday, March 10, 1999 7:31 AM
> To: lugos-list na lugos.si
> Subject: [ LUGOS ] FetchMail
> 
> 
> lp,
> 
> naredim fetchmail --keep -u username -s mailserver vendar ne 
> dobim maila
> 
> kako naredim recimo fetchmail iz mailserverja na drugi mail account?
> 
> Kako pogledam vsebino maila z telnnet mailserver 110
> poznam samo ukaze user, pass in list
> vendar bi rad pogledal maile in jih potem tudi brisal
> 
>     igor
> 




Dodatne informacije o seznamu Starilist