How to Export Cpanel’s Mailman Mailing List

To sustain this free service, we receive affiliate commissions via some of our links. This doesn’t affect rankings. Our review process.

Cpanel’s Mailman mailing list software is not all that bad for an open-source application. It provides quite a bit of flexibility when it comes to managing and administering your mailing list and its subscribers. The glaring problem? There is no easy way to export your list of subscribers! Here’s how to do it.

How to export cPanels Mailman Mailing List to .csv file

Let me start off by saying that in order to successfully export your Mailman subscriber list, you’re going to need shell (SSH) access.  In a VPS or dedicated server environment, you have this automatically.  In a shared environment, you can ask your hosting provider to give you SSH access, or, if they refuse to, to please export the mailing list for you.

  1. Log into your account via SSH as root user.
  2. Find your Mailman directory (usually located in /usr/local/cpanel/3rdparty/mailman/bin)
  3. Execute the following command to copy the Mailman mailing list subscribers to a text file: ./list_members LISTNAME > ./subscribers.txt (where LISTNAME is the name of your subscriber list (if your subscriber list is, the LISTNAME would be
  4. This will effectively copy your email subscribers into subscribers.txt, placing one email per line.
  5. Finally, you’ll want to copy the file to a directory accessible via FTP so you can download it, with the following command: cp subscribers.txt /home/username/ (if you copy it to /home/username/public_html you can point a web browser to the file to view or download it)

Importing your mailing list into another service

You may need to convert your mailing list file (.txt) to a .csv (Comma Separated Value) file for import into certain mailing list applications.  You can accomplish this by simply changing its extension from .txt to .csv.  Some mailing list applications, such as that offered by (excellent email company, in business since 1999 – please mention Alex from if you sign up!) will also take first and last name in the .csv file.  For example, if your subscribers.csv file contains on one line:

You can add first and last name like this:, first, last

Hopefully you were able to successfully export your Mailman mailing list subscriber list (and even better, we can hope that one day a version of Mailman will offer this export functionality in Cpanel).

About The Author:

Alex has been involved on the business side of the internet since the early 2000's. He holds both a Management Science degree from the University of California at San Diego as well as a Computer Science degree from NJIT.

We Rock Your Web had its roots back in 2004 as the tech blog for a web design and development company Alex founded that has grown and evolved into the parent company of We Rock Your Web.

While his foundation is rooted in web development, his expertise today lies in content and digital marketing, SEO, organic and paid search, analytics, and publishing. Alex is an avid tennis player, nature enthusiast, and hiker, and enjoys spending time with his wife, friends, and dogs.

Disclaimer: This website contains reviews, opinions and information regarding products and services manufactured or provided by third parties. We are not responsible in any way for such products and services, and nothing contained here should be construed as a guarantee of the functionality, utility, safety or reliability of any product or services reviewed or discussed. Please follow the directions provided by the manufacturer or service provider when using any product or service reviewed or discussed on this website.

Notify of
1 Comment
Oldest Most voted
Inline Feedbacks
View all comments

I know a company who provides a senior mailing list. If your target prospect is the mature market group, they will help you find more customers.