Guide updated on 29th of February 2016

Adaptation of your Debian packages source list

You will need to adapt your Debian packages source list (/etc/apt/sources.list) to match the following :

deb jessie main contrib non-free
deb jessie/updates main contrib non-free
deb-src jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb jessie-updates main contrib non-free
deb-src jessie-updates main contrib non-free

I use because it's my ISP mirror but I advice you to choose your nearest ones

aptitude update
aptitude safe-upgrade

Proceed to the debian package install

Users comments
Bob - 24/08/2017 07:13

May I suggest one additional step, before starting the entire installation.

And that is, to check the SPAM databases for the IP address you are about to use?

I spent a day yesterday installing the mail server and converting all data from the old one. Only to find out that emails were landing in spam folders.

I _should_ have checked that, but forgot.

Joe - 08/11/2016 22:01

 Failed to fetch Cannot initiate the connection to (2001:41d0:1:7c8b::1). - connect (101: Network is unreachable) [IP: 2001:41d0:1:7c8b::1 80]

W: Some index files failed to download. They have been ignored, or old ones used instead.

Marc - 03/07/2014 10:35

Install correct on Wheezy but with the old CNAME lookup error that prevents qmail sending emails... so not really usable !

Can anyone add the DNS patches in this package or tell me how to get the sources and rebuild the package with the patches inside ?

Patches can be found here :

PS : your captcha code is unreadable !!!

Michiel - 18/06/2014 15:11

This should work on Debian Wheezy and also Ubuntu 12.04 LTS...the documentation is pretty up to date, if something is not working:


- check your steps

- check the comments

Color Coded Qmail Installation Key
  Regular Black Text     Qmail installation notes and summaries by the author.
  Bold Black Text     Commands to be run by you, the installer.
  Bold/Regular Red Text    Vital and/or critical information.
  Regular Blue text     Denotes helpful tips and hints or hyperlinks.
  Regular Orange Text     Command line output.
  Bold/Regular green text     Denotes the contents of a file or script.