The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mailman generating error messages every five minutes

Discussion in 'E-mail Discussions' started by yobokkie, May 17, 2013.

  1. yobokkie

    yobokkie Registered

    Joined:
    Feb 4, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    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
     
    #2 InterServed, May 17, 2013
    Last edited: May 17, 2013
  3. yobokkie

    yobokkie Registered

    Joined:
    Feb 4, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  4. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    You are more than welcome . Glad i could help.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page