So I just updated the hostname to a FQDN (should have done it before, but realised it wasn't set when I got some HELO errors when sending emails).
This might be of use to someone!
The hostname changed successfully, I could also see it in /etc/hosts, but after the change, cPanel thrrew up the following:
I attempted to reboot mailman, but it failed with the following:
Updating Apache configuration
Updating cPanel license...Done. Update succeeded. Building global cache for cpanel...Done
Traceback (most recent call last):
File "/usr/local/cpanel/bin/reset_mailman_hostname", line 44, in ?
File "/usr/local/cpanel/bin/reset_mailman_hostname", line 31, in main
file=open('/usr/local/cpanel/3rdparty/mailman/lists/' + list + '/config.pck','r')
IOError: [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/lists/mailman/config.pck'
Then I looked around and the forum and tried to start it via the
mailman has failed, please contact the sysadmin (result was "mailmanctl is not running").
It said mailman wasn't running so obviously couldn't be restarted (in retrospect this wasn't the smartest move).
I then checked if mailman was enabled under WHM > Tweam settings, and it was.
So then I attempted to do a forced reinstall of mailman with the following:
This command is deprecated, so the system gave me a new one.
That command took a few minutes to run and displayed a whole bunch of things with (fixing) at the end. Once it was run, it said:
Interestingly enough, though, I attempted to restart mailman and it seemed to restart without any problems.
Problems found: 85
Re-run as mailman (or root) with -f flag to fix
Non-standard property restored: personalize
I've seen this issue on this ticket here: http://forums.cpanel.net/f34/cpanel-...or-212612.html
So, the question is, before I open a ticket, how do I make sure mailman is working exactly the way it should? Any diagnostics I can run?