How to fix Mailman fails to start with “Site list is missing” error

If you’re running a server and have encountered the dreaded “XID hwshb5” error with the message “The ‘mailman’ service failed to start,” you’re not alone. This error can be frustrating, but fear not, as we’re here to guide you through the troubleshooting process and help you get your mailman service up and running smoothly.

Understanding the Error:

The “XID hwshb5” error is often associated with cPanel, a popular web hosting control panel. It indicates that the mailman service, responsible for managing mailing lists, failed to start. This can lead to disruptions in email services and impact your overall server performance.

What is Mailman?

Mailman is a versatile, open-source software designed to manage email discussion lists efficiently. It automates tasks like subscription management, message distribution, and list moderation, providing a user-friendly interface for customization. With features for archives and digests, Mailman is widely used in communities and organizations to facilitate organized online communication. It is written in Python and has been a crucial tool for diverse groups since its introduction.

Way to fix the issue

To resolve the “XID hwshb5” error linked to the absence of the base mailman list, users can take the following steps to recreate the missing mailing list. Open your server’s command line interface and enter the command:

[root@server]# /usr/local/cpanel/3rdparty/mailman/bin/newlist

This command initiates the creation process. Follow the prompts by entering the name of the list (in this case, ‘mailman’), providing the email address of the list administrator (e.g., [email protected]), and setting an initial mailman password. Once the list is recreated, it’s essential to restart the mailman service to apply the changes. Execute the following command:


This ensures that the mailman service restarts with the newly created base mailman list, addressing the root cause of the error and allowing for the seamless functioning of the mailman service.