Skip to main content

Tier: Current 126.0.2 has broken mailman

Comments

10 comments

  • Coley1

    Hi, 

     

    I have been on 126.02 since at least last week some time and I too am having the same issues. I am getting very little help from our data center or cPanel for that matter regarding this issue. We host a ton of these mailman lists and my customers are not happy.

     

    They intially tried to say it had somethign to do with DMARC, but that is not the case.

     

    Naturally, I can't get the ticket number from my provider either. So here is the person working on it.

    Ryland Robertson
    Technical Support Engineer III

     

    I am seriously considering migrating off of cPanel at this point.

    0
  • Damian

    Yes it is certainly not DMARC related. It's python or the mailman scripts.

    Some emails are delivered but the admin functions are all broken.

    0
  • Damian

    Does cPRex still help out in these forums?

    0
  • cPRex Jurassic Moderator

    Coley1 - I do see that ticket was escalated to our Level 3 support team, but so far we haven't been able to reproduce this on a test machine to know exactly what the issue is.

    Damian - are you able to submit a ticket on this as well?

    0
  • Coley1

    Hello,

    Below is from the error log on a seperately installed cPanel Server running Alma Linux 8 with Python 3.6.

    I also noticed when this verson of cPanel is freshly installed it doesnt create the default mailman list. This causes some of the inital errors at the top of the log below. Once I created the default list, Mailman was able to start successfully.


    cat error 
    Feb 03 10:04:25 2025 mailmanctl(54665): PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid 
    Feb 03 10:04:25 2025 mailmanctl(54665): [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid' 
    Feb 03 10:04:25 2025 mailmanctl(54665): Is qrunner even running? 
    Feb 03 10:49:57 2025 (65620) Uncaught runner exception: sequence item 0: expected str instance, bytes found
    Feb 03 10:49:57 2025 (65620) Traceback (most recent call last):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 113, in _oneloop
        self._onefile(msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 184, in _onefile
        keepqueued = self._dispose(mlist, msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
        more = self._dopipeline(mlist, msg, msgdata, pipeline)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
        sys.modules[modname].process(mlist, msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/SpamDetect.py", line 110, in process
        Utils.IsDMARCProhibited(mlist, addr)):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Utils.py", line 1350, in IsDMARCProhibited
        x = _DMARCProhibited(mlist, email, '_dmarc.' + f_dom)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Utils.py", line 1400, in _DMARCProhibited
        "".join(txt_rec.items[0].strings))
    TypeError: sequence item 0: expected str instance, bytes found

    Feb 03 10:49:57 2025 (65620) SHUNTING: 1738597796.9066792+ac4b19e376f9afd3151dbaeef58c01d8979b3b7f
    Feb 03 10:54:20 2025 (65620) Uncaught runner exception: sequence item 0: expected str instance, bytes found
    Feb 03 10:54:20 2025 (65620) Traceback (most recent call last):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 113, in _oneloop
        self._onefile(msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 184, in _onefile
        keepqueued = self._dispose(mlist, msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
        more = self._dopipeline(mlist, msg, msgdata, pipeline)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
        sys.modules[modname].process(mlist, msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/SpamDetect.py", line 110, in process
        Utils.IsDMARCProhibited(mlist, addr)):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Utils.py", line 1350, in IsDMARCProhibited
        x = _DMARCProhibited(mlist, email, '_dmarc.' + f_dom)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Utils.py", line 1400, in _DMARCProhibited
        "".join(txt_rec.items[0].strings))
    TypeError: sequence item 0: expected str instance, bytes found

    Feb 03 10:54:20 2025 (65620) SHUNTING: 1738598060.2385314+bf00e044995b3fb70c37f472eede5ecff91b6c87
    Feb 03 10:58:29 2025 (65620) Uncaught runner exception: sequence item 0: expected str instance, bytes found
    Feb 03 10:58:29 2025 (65620) Traceback (most recent call last):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 113, in _oneloop
        self._onefile(msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 184, in _onefile
        keepqueued = self._dispose(mlist, msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
        more = self._dopipeline(mlist, msg, msgdata, pipeline)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
        sys.modules[modname].process(mlist, msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/SpamDetect.py", line 110, in process
        Utils.IsDMARCProhibited(mlist, addr)):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Utils.py", line 1350, in IsDMARCProhibited
        x = _DMARCProhibited(mlist, email, '_dmarc.' + f_dom)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Utils.py", line 1400, in _DMARCProhibited
        "".join(txt_rec.items[0].strings))
    TypeError: sequence item 0: expected str instance, bytes found

    Feb 03 10:58:29 2025 (65620) SHUNTING: 1738598060.2385314+5dcf203468e33b2c949c4fe99ab42bf748322e27
    Feb 03 10:58:29 2025 (65619) Uncaught runner exception: sequence item 0: expected str instance, bytes found
    Feb 03 10:58:29 2025 (65619) Traceback (most recent call last):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 113, in _oneloop
        self._onefile(msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 184, in _onefile
        keepqueued = self._dispose(mlist, msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
        more = self._dopipeline(mlist, msg, msgdata, pipeline)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
        sys.modules[modname].process(mlist, msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/SpamDetect.py", line 110, in process
        Utils.IsDMARCProhibited(mlist, addr)):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Utils.py", line 1350, in IsDMARCProhibited
        x = _DMARCProhibited(mlist, email, '_dmarc.' + f_dom)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Utils.py", line 1400, in _DMARCProhibited
        "".join(txt_rec.items[0].strings))
    TypeError: sequence item 0: expected str instance, bytes found

    Feb 03 10:58:29 2025 (65619) SHUNTING: 1738597796.9066792+88f1f2d1141b40881811d5e8d646afd92d76d058

    0
  • Zachary Karr

    Hi Coley1 !

    If you could update the ticket you have with that information, that would be most helpful. Looking through this thread there are a couple of different errors I've seen, and matching these to cPanel and OS version would greatly assist in tracking this down. So far in this thread I've noted the following errors that are causing the messages to be shunted:

    TypeError: sequence item 0: expected str instance, bytes found
    ModuleNotFoundError: No module named 'iterators'
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0x91 in position 4851284091: invalid start byte
    AttributeError: 'Message' object has no attribute 'policy'
    KeyError: 0

     

    In order to best keep track of these I'd ask to open or update tickets with any relevant information.

    0
  • Coley1

    We have sent the above to our data center. There is a delay in getting it to you since we can’t open tickets directly anymore.

     

     

    0
  • Damian

    Thanks @cprex. Ticket number 95439714

    0
  • cPRex Jurassic Moderator

    Thanks for that - I'm following along with that ticket now as I see Brian is on it!

    0
  • cPRex Jurassic Moderator

    Update - Last night, Steven, one of our Level 3 techs, dove into this issue and created several cases for our development team to review.  Ultimately, the best way to follow along is with this support article here:

    https://support.cpanel.net/hc/en-us/articles/29762855785751-v126-Mailman-stopped-sending-emails

    as that will get updated once we have more details.

    0

Please sign in to leave a comment.