a small POP3-server in bash

Inspired by a tweet about an HTTP-server in bash, I remembered a pop3-server in bash, I saw a few years ago. I couldn't find it anymore, so I reimplemented it myself :-)

It's very basic, but seems to work.

I only checked it with Thunderbird.

Installation

Download the file pop3d below, put it somewhere (e.g /tmp), install fortunes and initd.

inetd

put this line in your /etc/inetd.conf

pop3 stream tcp nowait nobody /tmp/pop3d pop3d

now pop your localhost and have fun!

pop3d