Tech Journal Back to Tech Journal

QPopper - a secure replacement for the standard POP

A great (and free as in beer) POP3 server, that supports MD5 shadow passwords through PAM (plugabble authentication modules, or something like that) from Qualcomm (the people who brought you Eudora) Available from:

Setting up MD5 support:
After extracting the files from the downloaded tarball, run:

./configure --enable-specialauth --with-pam --enable-log-login

The options here are:

allows MD5 and shadow passwords
allows the use of RH Pluggable Authentication Modules (PAM) technology
log successful logins, not only failures (not really that useful as it will use tcpd wrappers log anyway)
conceal version number (yeah, a little pesky manifestation of "security through obscurity")

Now compile and install (make ; cp popper/popper /usr/local/bin ; chmod 700 /usr/local/bin/popper), and add it to /etc/inetd.conf (or replace the old POP3 line with):

pop3  stream tcp        nowait root /usr/sbin/tcpd /usr/local/bin/popper -s

Now, to allow PAM authentication, you need to create a file /etc/pam.d/pop3 (if you called the service "pop3" in /etc/services and in /etc/inetd.conf. Otherwise, change the filename to match the service name). The file should look like this:

auth       required     /lib/security/ shadow
account    required     /lib/security/
password   required     /lib/security/
password   required     /lib/security/ nullok use_authtok md5 shadow
session    required     /lib/security/

Note: RedHat tends to list the POP3 service as "pop-3". So just by changing the name in /etc/services to be "pop3", everything should work.

shamlessly stolen from Pocket-ISP HOWTO

Last updated on 2000-08-08 14:00:00 -0700, by Shalom Craimer

Back to Tech Journal