How to Export Subscribers from a Cpanel Mailman List?

Cpanel’s Mailman is an open-source mailing list application. The problem is that there is no easy way to export subscribers from a list. Yet, here’s the solution.

Step 1: Login into account via SSH ( as root ).
Step 2: Find mailman directory. ( Default Location : /usr/local/cpanel/3rdparty/mailman/bin )
$ cd /usr/local/cpanel/3rdparty/mailman/bin
Step 3: Execute the following command to export subscribers to a text file:
$ ./list_members yourlistname > ./export_mail_list.txt
Example Mailman List Name : maillist_plugged.in  ( If the subscriber list is maillist@plugged.in, the listname would be maillist_plugged.in )

This command will export my email subscribers into a file ( export_mail_list.txt ).
  • 8 Users Found This Useful
Was this answer helpful?

Related Articles

Compile and build Apache + MySQL + PHP from the source [cite]

This is a complete working solution to build Apache (httpd-2.2.25), MySQL (MySQL-5.6.14) and PHP...

Using vi Editor

Vi is the one of the mostly used editor in Linux via terminal. In most cases where Linux is used...

Installing MS SQL Module to PHP on DirectAdmin [cite]

If you need to connect to an MS Sql Server remotely from your DirectAdmin server via php, you...

Fix Incoming Mail Delay With Postfix

In our case, we were using postfix via iRedMail and every incoming mail had a delay around 7...

Firewall Settings With IpTables on CentOS and RedHat [cite]

Here on this article we’ll discuss some basic methods to quickly apply to the iptables...