Welcome to MagicSpam Pro for cPanel WHM! A better spam protection in an easy to use cPanel WHM Module. Visit here for support, frequently asked questions, wishlists and discussion groups on this great module to make life with cPanel WHM that much simpler.

Just to make sure we understand correctly, the 'Packages' module in the MagicSpam interface is not working correctly - you are not able to add MagicSpam to existing packages, and you are not able to create a new package. Do we understand this correctly? Are existing packages even showing up in this interface?

One of the possible causes of this is if your WHM configuration has been locked down to not accept connections to the whostmgrd from localhost (127.0.0.1). MagicSpam makes requests to the 'localhost' version of the host manager:

to interact with the cPanel system. IF the system is locked down, then it is not able to perform this interaction. This can be checked in the WHM Security Center / Host Access Control for top level lock downs. If you have a firewall in place, instructions will of course vary.

Another possible cause is if the name 'localhost' does not resolve to an address (eg: 127.0.0.1). This can be remediated by updating your /etc/hosts file with an entry like:

127.0.0.1 localhost.localdomain localhost

Another possible cause is if you have configured the WHM panel to listen on a different port than the default 2087. If this is the case, we do not have a current 'supported' work around, though we can definitely work with you to devise one.

And a final potential cause is your system does not have the 'curl' binary available at /usr/bin/curl - or if it is not executable or otherwise locked down by additional security systems such as SELinux.

We hope this information helps in your troubleshooting. Let us know if we can offer any further assistance, and we look forward to hearing back from you.