How To Install mailman on CentOS 7

In this tutorial we learn how to install mailman on CentOS 7. mailman is Mailing list manager with built in Web access

Introduction

In this tutorial we learn how to install mailman on CentOS 7.

What is mailman

Mailman is software to help manage email discussion lists, much like Majordomo and Smartmail. Unlike most similar products, Mailman gives each mailing list a webpage, and allows users to subscribe, unsubscribe, etc. over the Web. Even the list manager can administer his or her list entirely from the Web. Mailman also integrates most things people want to do with mailing lists, including archiving, mail <-> news gateways, and so on. Documentation can be found in When the package has finished installing, you will need to perform some additional installation steps, these are described in /usr/share/doc/mailman-2.1.15/INSTALL.REDHAT

We can use yum or dnf to install mailman on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mailman.

Install mailman on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install mailman using yum by running the following command:

sudo yum -y install mailman

Install mailman on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install mailman using dnf by running the following command:

sudo dnf -y install mailman

How To Uninstall mailman on CentOS 7

To uninstall only the mailman package we can use the following command:

sudo dnf remove mailman

References

Summary

In this tutorial we learn how to install mailman on CentOS 7 using yum and dnf.