hi there...
does anybody out there know how to delete multiple emails on a sims box when logging in via terminal?
Stalker POP3 Server 1.8b9d14 lists following options: DELE, LIST, NOOP, RETR, RSET, STAT, TOP, UIDL, QUIT, HELP
Here's an example of a session deleting a couple of messages:
$ telnet sc1 pop3
Trying 66.73.230.190...
Connected to sc1.scconsult.com.
Escape character is '^]'.
+OK Stalker POP3 Server 1.8b9d14 at sc1.scconsult.com ready <[EMAIL PROTECTED]>
user username
+OK please send PASS command
pass password
+OK 11 messages in queue
DELE 1
+OK
DELE 2
+OK
DELE 5
+OK
STAT
+OK 8 120137
QUIT
+OK Stalker POP3 Server connection closed
Note that the lines starting with "+" are those sent by the server, and my typing is everything else. When I first authenticated, I got back a message stating the number of messages. I then deleted messages 1,2, and 5 and used the 'STAT' command to seem the result: at the end I had 8 messages totalling 120137 bytes.
LIST give a simple list of message numbers and their size. NOOP is a no-operation command. RETR <message number> will retrieve that message. RSET resets the mailbox state to what it was at the start of the session, which for SIMS means that it undeletes anything deleted. TOP <message number> <line count> will return the headers and the top <line count> lines from the body of a message. UIDL gives a list of message numbers with unique identifiers that persist across sessions so that clients can identify that message #3 in one session is message #1 in another without retrieving the message. QUIT ends the session and is required if you want deletions to be permanent. HELP
simply spits back a list of valid commands. All commands are case-insensitive.
So, deleting multiple messages requires you to know which messages you want to delete (TOP works well for figuring that out) and deleting them one at a time. DELE only acts on one message at a time.
--
Bill Cole [EMAIL PROTECTED]
############################################################# This message is sent to you because you are subscribed to the mailing list <[EMAIL PROTECTED]>. To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>
