Server Administration & Management

Mailman error “Bug in Mailman version 2.1.11.cp3″

In latest cPanel 11.24.5if you are receiving following while selecting “modify” option from your cPanel >> Mailing Lists it will open mailing list with the following error message

Mailing list bug

You can resolve above error by using following command form your shell but make sure that you are logged in as a root user.

# chmod 02775 -R /usr/local/cpanel/3rdparty/mailman/

and if its also not resolving your issue then you can read more on it here.

If above command won’t resolve your issue, then you have to reinstall mailman by using following steps.

First take backup for current mailman directory.

[/usr/local/cpanel/3rdparty]# cp mailman mailman-back -R

Confirm disk space usage for both directory.

[/usr/local/cpanel/3rdparty]# du -sh mailman
407M mailman

[/usr/local/cpanel/3rdparty]# du -sh mailman-back
407M mailman

Then run following command

[/usr/local/cpanel/3rdparty]# /scripts/reinstallmailman


[/usr/local/cpanel/3rdparty]# /usr/local/cpanel/bin/mailman-install –force

It will resolve your issue and you won’t face any further trouble.

May 8, 2012 Posted by | cPanel | , | Leave a comment

Mailman unable to create test mailing list

cPanel issue which will not let you create a mail list.

Here is the fix. Open the file

# vim /usr/local/cpanel/3rdparty/mailman/Mailman/Defaults.py

Check for the following directives.

DEFAULT_EMAIL_HOST = ‘mail.youdomain.com’
DEFAULT_URL_HOST = ‘mail.yourdomain.com’
DEFAULT_URL_PATTERN = ‘http://%s/mailman/’

HOME_PAGE         = ‘index.html’

Insert the proper entries..

May 4, 2012 Posted by | cPanel | , | Leave a comment

How to Export Mailman Mailing lists on cPanel

You can export the mailman mailing list members using below steps :

# cd /usr/local/cpanel/3rdparty/mailman/bin

# ./list_members mailinglistname_domain.com > /home/username/list.txt

# chown username:username /home/username /list.txt

mailinglistname_domain.com is the name of the mailing list (@ changes to_ )

May 2, 2012 Posted by | cPanel | , , | Leave a comment

How to fix error in Mailing list


Bug in Mailman version 2.1.9.cp2
We’re sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.


1. Go to /usr/local/cpanel/3rdparty/mailman

# cd /usr/local/cpanel/3rdparty/mailman

# ls -al

#chmod -R 2775 ./*

Check if this has fixed the issue, If not run the fixmailman script.

# /scripts/fixmailman

If this wont fix the issue.

# /scripts/reinstall mailman

December 16, 2011 Posted by | cPanel, Mail | , , , | Leave a comment

How to fix mailman stats in munin

By default if you install Munin via cPanel addons it does not enable mailman stats by default even though it shows a graph on the stats page… Here is how you can enable the stats.

First, you must edit your /etc/munin/plugin-conf.d/cpanel.conf file to look like this

# /etc/munin/plugin-conf.d/cpanel.conf


user root
group wheel
env.mysqladmin /usr/bin/mysqladmin
env.mysqlopts –defaults-extra-file=/root/.my.cnf

group mail

group mail

user mailman

Next, edit /etc/munin/plugins/mailman and change the line:

# vi /etc/munin/plugins/mailman


Also touched ‘touch /var/lib/munin/plugin-state/munin-mailman-log.state’

Finally, if exim stats fail and you’ve made changes or restarted you need to remove the state file at /var/lib/munin/plugin-state/plugin-exim_mailstats.state

You’ll also need to restart munin

# /etc/init.d/munin-node restart

April 21, 2011 Posted by | cPanel | , , , | 4 Comments