2-A Vpopmail

I trust you added the users before or you'll have directory issues.

Don't use any version above 5.4.3 or qmailadmin among other things will not work.

mkdir /home/vpopmail
mkdir /usr/src/vpopmail
chown vpopmail:vchkpw /home/vpopmail/
cd /usr/src/vpopmail
wget http://sourceforge.net/projects/vpopmail/files/vpopmail-stable/5.4.30/vpopmail-5.4.30.tar.gz/download
tar -xpf vpopmail-5.4.30.tar.gz
cd vpopmail-5.4.30/
wget http://opensource.sf-tec.de/repos/Qsmtp/tags/Qsmtp-0.19/doc/vpopmail.diff
#And then we patch...

patch -p1 -i vpopmail.diff

./configure --enable-logging=v --enable-clear-passwd=y
make && make install-strip
chmod ug+s /home/vpopmail/bin/vchkpw

#We want to avoid a bug in "stable" version, so...

cat>  ~vpopmail/etc/vusagec.conf<<  __EOF__
   Disable = True;

#We want to add binaries to PATH

echo >> ~/.bashrc
echo PATH=\$PATH:/home/vpopmail/bin >> ~/.bashrc


#This is a tip that wasn't so easy for me to find and will prevent your queue to grow A LOT

#Once you've created the domains you'll be hosting, access them via /home/vpopmail/domains and on each do:

nano .qmail-default

#update your .qmail-default file from something like this:
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
# o something like this:
| /home/vpopmail/bin/vdelivermail '' delete

#That will prevent you from bouncing mail destinated to nonexistant users. Spammers will flood your queue with bounces if you don't replace that value.