Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED How to stop these checkdbs cron emails?

Discussion in 'Database Discussion' started by WebHostPro, May 27, 2019.

Tags:
  1. WebHostPro

    WebHostPro Well-Known Member PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,678
    Likes Received:
    23
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Any idea how to stop these, I thought I stopped cron job emails by adding this to the first line of the file.

    MAILTO=""

    But I still get these guys:
    Code:
    To: [email protected]
    Subject: Cron <[email protected]> /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/checkdbs
    
    
    Traceback (most recent call last):
     File "/usr/local/cpanel/3rdparty/mailman/cron/checkdbs", line 211, in <module>
       main()
     File "/usr/local/cpanel/3rdparty/mailman/cron/checkdbs", line 105, in main
       discarded = auto_discard(mlist)
     File "/usr/local/cpanel/3rdparty/mailman/cron/checkdbs", line 200, in auto_discard
       heldmsgs = mlist.GetHeldMessageIds()
     File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", line 145, in GetHeldMessageIds
       return self.__getmsgids(HELDMSG)
     File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", line 140, in __getmsgids
       ids = [k for k, (op, data) in self.__db.items() if op == rtype]
    ValueError: need more than 0 values to unpack
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 WebHostPro, May 27, 2019
    Last edited by a moderator: May 27, 2019
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @WebHostPro,

    1. You should be able to silence those notifications by editing the following line in /etc/cron.d/mailman:

    Code:
    0 8 * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/checkdbs
    To:

    Code:
    0 8 * * * mailman /usr/local/cpanel/scripts/restartsrv_mailman --status &> /dev/null && /usr/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/checkdbs &> /dev/null
    2. Feel free to submit a support ticket if you'd like us to investigate the cause of the "ValueError: need more than 0 values to unpack" error message itself. You can post the ticket number here and we'll link this thread to it.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    WebHostPro likes this.
  3. WebHostPro

    WebHostPro Well-Known Member PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,678
    Likes Received:
    23
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Awesome, that will do it, thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice