We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.

We will continue to maintain our API documentation on this server.

For cPanel & WHM version 76

Skip to end of metadata
Go to start of metadata

What is Mailman and where can I find more Mailman documentation?

Mailman is third-party software that we include with cPanel & WHM to manage mailing lists.

Where does cPanel & WHM install Mailman on my server?

cPanel & WHM version 58 and later installs Mailman as an RPM. For more information, read our The rpm.versions System documentation.

Where can I find the Mailman error log?

You can find the Mailman error log in the /usr/local/cpanel/3rdparty/mailman/logs/error file.

How can I enable or disable Mailman on my server?

WHM installs and enables Mailman by default.

To disable Mailman on your server, perform one of following actions:

  • Select Off for the Enable Mailman mailing lists setting in WHM's Tweak Settings interface (WHM >> Home >>  Server Configuration >> Tweak Settings). 
  • Deselect the Mailman checkboxes in the Enabled and Monitor columns of WHM's Service Manager interface (WHM >> Home >> Service Configuration >> Service Manager).


You must enable both settings to display the Mailing Lists icon in the cPanel interface. If either setting is disabled, the Mailing Lists icon will not display.

How can I change links in the Mailman interface to point to mail.example.com instead of example.com?

To point URLs in the Mailman interface to mail.example.com instead of example.com, enable the Prefix "mail." onto Mailman URLs setting in WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings).

What can I do if I see an error that says We hit a bug?

If you see the We hit a bug error message when you access the Mailman interface, check the /usr/local/cpanel/3rdparty/mailman/logs/error file for error messages.

Based on the error message in the log, the following steps may resolve the issue:

What commands are available for Mailman?

The following table includes some common commands for Mailman:

Repair Mailman permissions/usr/local/cpanel/3rdparty/mailman/bin/check_perms -f
Repair Mailman archive permissions and mailing lists./usr/local/cpanel/scripts/fixmailman
View all lists/usr/local/cpanel/3rdparty/mailman/bin/list_lists
View all list members/usr/local/cpanel/3rdparty/mailman/bin/list_members listname_domain.com

Additional documentation

There is no content with the specified labels

There is no content with the specified labels

There is no content with the specified labels