cPanel/Mailman errors: could not determine list owner…

Much as I hate messing around with the core files of cPanel (or of any other installation in fact), the cPanel installation has a bug that, although not a showstopper, is rather annoying. It results in me getting an email every few hours full of lines like this:
Could not determine list owner for xxxxx
This is caused by the update_mailman_cache script checking the names of the Mailman mailing lists and finding them wrongly named. This is easily fixed and I’m writing this as much as a reminder for myself, as to help others with the problem. Continue reading cPanel/Mailman errors: could not determine list owner…