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
[/usr/local/cpanel/3rdparty]# du -sh mailman-back
Then run following command
[/usr/local/cpanel/3rdparty]# /usr/local/cpanel/bin/mailman-install –force
It will resolve your issue and you won’t face any further trouble.
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’
MAILMAN_SITE_LIST = ‘mailman’
Insert the proper entries..
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_ )
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.
If this wont fix the issue.
# /scripts/reinstall mailman
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
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