Mailman generating error messages every five minutes

yobokkie

Registered
Feb 4, 2013
2
0
51
cPanel Access Level
Root Administrator
Hi all,
I've searched on the forums and couldn't find another topic like this so I apologize in advance if it's a repeat but suddenly today i'm getting flooded with delivery failure notices from a mailman cron job.

This is the main body of the email I get:

The following text was generated during the delivery attempt:

------ pipe to |/usr/lib/mailman/mail/mailman post mailman
generated by ***redacted*** ------

Traceback (most recent call last):
File "/usr/lib/mailman/scripts/post", line 32, in <module>
from Mailman import mm_cfg
File "/usr/lib/mailman/Mailman/mm_cfg.py", line 76
DEFAULT_SERVER_LANGUAGE =
^
SyntaxError: invalid syntax

I've looked in my root shell access and both files exist. I don't know what has changed since yesterday but I've tried disabling mailman in the tweak settings and still they keep coming. I'm getting a bit desperate here, and have searched google flat for an answer. Can anyone help me please?
 

InterServed

Well-Known Member
Jul 10, 2007
268
14
68
cPanel Access Level
DataCenter Provider
Hello,

You may try the following:

Take a backup of the original file:
Code:
cp -a /usr/lib/mailman/Mailman/mm_cfg.py /usr/lib/mailman/Mailman/mm_cfg.py.ori
Open the file with your favorite editor , such as nano:
Code:
nano /usr/lib/mailman/Mailman/mm_cfg.py
... and set DEFAULT_SERVER_LANGUAGE = 'en'

And the final step is to restart mailman:
Code:
/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl restart
 
Last edited:

yobokkie

Registered
Feb 4, 2013
2
0
51
cPanel Access Level
Root Administrator
Thanks for the prompt reply. I've done that and it's been ten minutes or so now and still no emails. So hold thumbs that was it. Many thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

I am happy to see a solution has been provided. I've tagged this thread as [Resolved].

Thank you.