Are you getting Internal server error while accessing mailing list? Mostly it will be displayed the Mailman errors and Mailman Bug after you migrated cPanel accounts to new hosts.
Mailman is software that lets you manage electronic mailing lists. It supports a wide range of mailing list types, such as general discussion lists and announce-only lists. Mailman has extensive features which make it good for list subscribers, such as easy subscription and unsubscription, privacy options, and the ability to temporarily stop getting posts from the list. The list member features are covered in this document.
There is various reason behind this mailman errors.
- You will need to check permission and ownership for mailman installation directory.
# ls -ld /usr/local/cpanel/3rdparty/mailman/
drwxrwsr-x 21 mailman mailman 4096 Nov 30 04:56 /usr/local/cpanel/3rdparty/mailman/
Verify that ownership and permission are set recursively to mailman and drwxrwsr-x respectively.
- Changing permission and ownership recursively
# chown mailman.mailman /usr/local/cpanel/3rdparty/mailman/ -R # chmod 02775 -R /usr/local/cpanel/3rdparty/mailman/
Restart cPanel service and verify the mailman errors. If you still getting the below error or any other permission errors
“Please inform the webmaster of 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.”
- Use the following command to auto check all the permission on the mailman.
# /usr/local/cpanel/3rdparty/mailman/bin/check_perms
If your problem still persists then you can use the script provided by cPanel to fix mailman or reinstall mailman.
Make sure you take a backup of directory mailman before executing script.
i) Fix mailman: # /scripts/fixmailman
ii) Reinstall Mailman: # /scripts/reinstallmailman
- Use the /scripts/check_cpanel_rpms script to check the Mailman RPM for issues.
You can also try the following mailman commands.
Task
|
Command
|
---|---|
Repair Mailman permissions | /usr/local/cpanel/3rdparty/mailman/bin/check_perms -f |
Repair Mailman archive permissions and mailing lists. | /usr/local/cpanel/scripts/fixmailman |
View all lists | /usr/local/cpanel/3rdparty/mailman/bin/list_lists |
View all list members | /usr/local/cpanel/3rdparty/mailman/bin/list_members listname_domain.com |