
 Installing popa3d
===================

1. Create the non-privileged popa3d user, like this (or using whatever
other user management commands your system has):

	# groupadd popa3d
	# useradd -g popa3d -d /dev/null -s /dev/null popa3d

2. Read the comments in params.h, and edit the #define's for your needs:

	$ vi params.h

3. Possibly edit the Makefile (uncomment "-lcrypt" for Linux with glibc
or FreeBSD):

	$ vi Makefile

4. Build it:

	$ make

5. Install the binary:

	# cp popa3d /usr/sbin/popa3d
	# chmod 700 /usr/sbin/popa3d

6. Edit your /etc/inetd.conf to use popa3d. The line should look like this:

	pop3	stream	tcp	nowait	root	/usr/sbin/tcpd	popa3d

Note: when started via an inetd clone, the logging of connections is left
up to that inetd clone or TCP wrappers.

7. Restart inetd by sending it a SIGHUP:

	# kill -HUP `cat /var/run/inetd.pid`
