logo

ShrimpWorks

// why am I so n00b?

Ok so this is a little trick I picked up a few years ago when I developed the first version of ECheck and I started learning the POP3 protocol. It’s come in very handy when I’m away from my email client and don’t want to receive email anywhere and fragment my mailbox by spreading it across a few machines.

Firstly, this’ll work on both Linux and Windows systems, with no extra software needed (assuming most Linux distros come with a Telnet client by default).

It’s a pretty useful thing everyone with an email account should know ;-).

Firstly, open a command prompt, and execute the following:

$ telnet <your.mail.server> 110

would obviously be replaced by the address (IP or hostname) of your POP3 server.

If you connect, you should be presented with a welcome message and a “+OK” message. You then enter the following commands to log in, replacing the contents of the "" with your details:

user <your@username>   pass <password>

After which, you should be greeted by another “+OK” assuming you managed to log in. If you make a typo, just send the line with the type

  • you usually cannot backspace and correct mistakes. Issue the correct command again.

Now that you’re in, let’s see your messages. To see how many messages and how big each of your messages is, send the following:

list

Once again a “+OK” line should be shown, followed by a very simple list of message IDs and file sizes (in bytes). Let’s preview a message, shall we?

top <id> <lines>

The headers for message , followed by up to number of lines from the message will be spammed to your console. You can find both the “Subject:” and “From:” header lines to decipher who the message is from and what it’s about. Of course you can also read the body…

Hmm? This message is junk mail or spam? Want to delete it before it hits your inbox?

dele <id>

… will delete the message with ID . It’s important to note that the message IDs are maintained - so if you delete message 1, message 2 will not fall into 1’s place. It’ll remain 2 for the remainder of the session.

If you’ve deleted the wrong message, all it not lost. You can ‘reset’ the mailbox status to how it was when you first connected:

rset

And once you’re done mucking around, disconnect nicely:

quit

It’s also worth noting that the commands are all case-insensitive, though I’m sure the ‘correct’ way of doing it would be to use all caps for commands, the server doesn’t seem to mind either way.

Have fun…

titleNew Toy

date 13 May 2005

So I went and bought myself a brand spanking new laptop last week :D.

It’s an HP Compaq NC8230 featuring the works - Intel Centrino CPU, ATI X600 ‘mini’ PCI-Express with it’s own 64MB RAM (don’t you just hate ‘shared video RAM?’), 15.4" widescreen display (with ambient light sensor to adjust brightness dynamically! Ooooooh, aaaah), only a 40GB HDD still, wifi, bluetooth, smart card reader stuffies, Win XP Pro SP2, etc etc etc.

All very nice :)

I went and got myself a virus on the day I unpacked it though… So much for the pre-installed Norton AntiVirus. Dumped Norton and tried out the home edition of avast! Anti Virus, which saved me rather smartly. Seems much nicer than the good old AVG system.

Anyway, it’s not as pretty as my old one (nx9010), but after a week using it at work, it actually feels more comfortable despite it’s more rigid, rectangular appearance.

Overall I’m very impressed :-).

Dunno if anyone would have noticed but the site was blinking on and off last week, with dynamic DNS issues.

I’ve been using an application which runs as a service on my Windows machine, but it seems to often give up if it can’t get a new IP or the update fails, and sometimes it just doesn’t bother even trying :-).

Anyway I slapped up a quick Python script to be run from a cron job at 5 minute intervals to check a website which provides my IP (like http://checkip.dyndns.org), grab the first IP it finds, and updates my ZoneEdit account with the new IP.

Seems to have been running reliably the past few days now.

I’ve dumped it on the Files page if anyone would like to give it a go. It’s set up for ZoneEdit, but I’m sure it’s easy to adapt to other services as well.

*sigh*

Seems I’ve been called off to head office again at literally a day’s notice. I was heading up next weekend though for a LAN with the Avatars (the UT clan I’m in), so I guess it isn’t all bad. Only problem now is carting around my PC, a new LCD monitor which I’ll pick up while I’m there, 2 weeks worth of clothing, and my laptop. Going to have to courier the PC up and have someone courier it and the monitor back after the LAN :(.

Internet is also blocked during office hours in head office, so I’m basically stuffed as I can’t exactly go home and see to things in the evenings. Where I’m responsible for a bunch of projects, websites, etc online, this isn’t exactly helpful at all. Hopefully I can still SSH home every now and then… Can’t even use VNC since my PC’s going to be all over the country.

Should be back by Monday the 28th… They don’t even know where I’m going to be staying while I’m up there.

*sigh* I hate this :(.

titleStuff

date 19 Jan 2005

Heh, I’m feeling sort of blank lately… :(

Finally my Naruto collection is up-to-date thanks to |sAvAgE|, and he’s filling in the missing parts of the Full Metal Alchemist series too. So I’ve started watching FMA from the beginning again.

Something is REALLY wrong with the IS FTP server. I think they must be doing shaping for non-IS customers properly now :(. Updated a bunch of xan’s (this server) packages last night and it took an age to download just 27mb.

titleHeh

date 13 Jan 2005

Well I got the E-Check list problems sorted… Was reusing odd variables :-/

Improved preview functionality in the core and GUI, and added a message source viewer. Also populated the list of accounts properly with a wxCheckListBox that lets you select the accounts to check. All working nicely.

Someone told me I don’t talk enough in IRC… :P

Well, after mucking around for a couple of days with possible layouts and trying to decide on Python or PHP, I gave in and took the easy way out and decided to try some pre-built blogging/CMS software…

I found Geeklog (what you’re looking at now). It seems to be a nice blend of blog and CMS… I think I can get it to do what I want it to with a minimum amount of effort :P.

Umm anyway, this is going to be my personal site type thing where I put my stuff and things…