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 Digests broken after 58 Update

Discussion in 'E-mail Discussions' started by brianc, Aug 20, 2016.

  1. brianc

    brianc Well-Known Member

    Joined:
    May 16, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Servers that are upgraded to version 58 will find out that the cronjob for mailman has been erased. This will break the sending out of digests.

    When I discovered this, I re-added the cronjob using the script at ../mailman/cron/crontab.in. However this is not working either. The cronjob is running according to /var/log/cron but digests are not being sent out. I then noticed there is a difference in the command line for the cron entry that handles the sending out of digests:

    New:
    0 12 * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/senddigests

    Previous:
    0 12 * * * /usr/local/cpanel/3rdparty/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/senddigests

    Can someone else confirm this and can I get cPanel to look into this? The fact that the original cronjob was erased after the upgrade is problematic and has caused me a big headache! Not very good quality control if you ask me.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The following resolution in cPanel 58.0.24 should address this issue:

    Fixed case CPANEL-8109: rlimits for a service will only be set when starting it.

    You can review the full change log, information on updating cPanel/WHM, and information on the build/release process at:

    58 Change Log - Change Logs - cPanel Documentation
    How can I update cPanel & WHM?
    Product Versions and the Release Process - cPanel Knowledge Base - cPanel Documentation

    As a temporary workaround, you can replace the following entry in /etc/cron.d/mailman:

    Code:
    0 12 * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/senddigests
    With:

    Code:
    0 12 * * * mailman /usr/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/senddigests
    Thank you.
     
  3. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Nope, were running 58.0.25 and still get that problem.
    Will change the cron entry to the temp one suggested above and see if that fixes it.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please let us know the output when running the following command as root via SSH:

    Code:
    sudo -Hu mailman /scripts/restartsrv_mailman --status
    Thank you.
     
  5. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    It returns:
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  7. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    We managed to fix this ourselves after running both of the following commands:
    Code:
    /usr/local/cpanel/3rdparty/mailman/bin/check_perms -f
    And
    Code:
    /scripts/fixmailman
     
Loading...

Share This Page