Qmail Installation on Centos

How to Install Qmail on Redhat  & Centos ?


welcome to
The qmail Installation guide
for Redhat, RHEL & Fedora
As it is now, I’ve split the Redhat qmail installation up into 20 sections which are listed below. Simply start at step 1and follow it all the way to completion. By the time you reach step 20, you should have a kickass qmail server. This installation has been tested on Redhat 7.x,8 and 9 as well as Redhat Enterprise Linux 3 and Fedora Core 1, 2 and 3.For a quick look at what this installation will provide you with, click here.

Before You Start! – When installing qmail, I would STRONGLY reccomend that you first conduct a test installation on a test server if you have one available. I cannot stress this enough. If you’re new to qmail, chances are you will probably screw the install up the first time through. Do yourself a favor and screw up on a test server that has no importance to you! I had to learn this the hard way. 😉

Pre-installation steps

P1 – An introduction to the QMR installation / Setting your expectations

P2 – Pre-Installation Checklist

Installation steps

Part 1 – Download All the Needed Items for the Qmail installation

Part 2 – Installing Qmail itself

Part 3- Installing EZmlm and EZmlm-idx

Part 4- Installing Autoresponder

Part 5- Installing Vpopmail

Part 6- Installing VQadmin

Part 7- Installing maildrop

Part 8- Installing QmailAdmin

Part 9 – Finalizing the qmail installation

Part 10 – Uninstalling Sendmail/Postfix

Part 11 – Starting up qmail

Part 12 – Installing Courier-imap/imaps with Courierpassd

Part 13 – Installation of the Squirrelmail web mail program

Part 14 – Clam Anti Virus & SpamAssassin

Part 15 – Installing qmail-scanner w/qms-analog

Part 16 – Installing Qmailanalog & Qlogtools

Part 17 – Installing Qtrap

Part 18 – Maintaining your qmail server

Part 19 – Mail client configuration

Part 20 – Feedback



Color Coded Qmail Installation Key
Regular Black Text 
 Qmail installation notes and summaries by the author. Me talking.
Bold Black Text 
 Commands to be run by you, the installer.
Bold Maroon Text 
 Special notes for Redhat 9 users.
Bold Red Text 
 Vital and/or critical information.
Regular/Bold Purple text 
 Denotes helpful tips and hints or hyperlinks.
Regular Orange Text 
 Command line output.

Regular green text 

 Denotes the contents of a file or script.