Init setup of Qmail based advanced Email Server
Get the packages:
You need to add dotdeb to your apt-get sources list. dotdeb is not "official" debian. Qmail doesn't meet Debian's licensing standards.
$ sudo emacs /etc/apt/sources.list
Add (http://www.dotdeb.org/mirrors):
deb http://ftp.yi.se/pub/software/dotdeb/ stable all
deb-src http://ftp.yi.se/pub/software/dotdeb/ stable all
Also, unrar is in nonfree; so, apparently you have to change this too:
deb http://mirrors.kernel.org/debian/ stable main non-free contrib
Now, do:
$ sudo apt-get update
$ sudo apt-get install vqadmin vpopmail-doc vpopmail-bin unzoo unzip unrar ucspi-tcp spamassassin spamc qmailadmin qmail perl-suid libvpopmail-freecdb libvpopmail1 autorespond ezmlm-idx courier-imap courier-base courier-authvchkpw courier-authdaemon clamav-base clamav clamav-freshclam
$ sudo shutdown -r now