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 list problems.

Discussion in 'E-mail Discussions' started by carock, Apr 21, 2006.

  1. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    232
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    St. Charles, MO
    I had a server corrupt some data on the disks, hasn't worked right since.

    One of the users brought to my attention their mailman list errors when they want to administrate it.

    Bug in Mailman version 2.1.6

    We're sorry, we hit a bug!
    Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.

    I tried transferring the site to another cPanel server, and the problem followed them.

    On the new server which works fine for everyone else, this transferred account can't admin their lists. I tried deleting all of their lists, and just create a new one. The new list also gave the error on the new server.

    Does anyone have any idea why this problem transferred from one server to another? Is there soemthing about the account I can look for that would cause the mailing lists feature in cPanel to not work right for this one customer only?

    I tried also running the checkdb command from mailman on the broekn lists, and it found no problems, check_perms, no problems etc. I just don't know what in their cPanel account would cause the lists to not work.

    Thanks,
    Chuck
     
  2. ophey

    ophey Registered

    Joined:
    Apr 21, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Now that Chuck's gotten the web interface to work again, the lists still aren't working quite right. Mail to them gets back an error as pasted below (real domain names concealed). If I create a new list via cpanel, there are no issues with sending email to it & web admin interface. Anyone have any hints as to what the issue is or how to track down what the issue is? I'd like to get it fixed without losing archives/having to restore archives if possible. Thanks.

    Ophey

    -------------------------------------

    Date: Tue, 25 Apr 2006 16:36:43 -0500
    From: Mail Delivery System <Mailer-Daemon@cpanel.blah.com>
    To: blah@blah.org
    Subject: Mail delivery failed: returning message to sender

    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    pipe to |/usr/local/cpanel/3rdparty/mailman/mail/wrapper post
    blah-blah_lists.blah.org
    generated by blah-blah@lists.blah.org
    local delivery failed

    ------ This is a copy of the message, including all the headers. ------

    (This was just a full headered copy of the message.)
     
    #2 ophey, Apr 25, 2006
    Last edited: Apr 25, 2006
  3. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    Running "/scripts/reinstallmailman" should take care of this issue for you. If it doesn't then log a ticket with your support provider. On some systems and update of Python is necessary (but don't casually update Python, it may cause more harm than good).
     
  4. ophey

    ophey Registered

    Joined:
    Apr 21, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Chuck doesn't seem to want to do this because he says it will affect the working mailman lists that are on the server for other accounts. Is this true?

    Creating a new list works perfectly fine, it's just my already existing lists that are having that wrapper bounce error. Is there some part of the mailman list creating script that could be manually run to resolve this? Or is there a way to put the older archives in after recreating the lists?

    Thanks.
     
  5. fuzzie

    fuzzie Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    How do you reinstall python? I think that is the problem I am facing with mailman.
    See this error:

    Code:
    May 09 13:19:54 2006 (2628) Uncaught runner exception: 'function' object has no
    attribute 'rfind'
    May 09 13:19:54 2006 (2628) Traceback (most recent call last):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 111,
    in _oneloop
        self._onefile(msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 167,
    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/Hold.py", line 157,
    in process
        if mlist.require_explicit_destination and \
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 1331, in
    HasExplicitDest
        last_underscore = listfullname.rfind('_');
    AttributeError: 'function' object has no attribute 'rfind'
    
    May 09 13:19:54 2006 (2628) SHUNTING:
    1147195216.6593461+03fb340fcdebe838ab6ee40c77a0522b2bdae809
     
  6. fuzzie

    fuzzie Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Fixed by downgrading to STABLE and reinstalling mailman.
     
  7. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    What version of Python is your server running?
     
  8. fuzzie

    fuzzie Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Python 2.4.2

    Has anyone else had this issue?
    Has it been fixed?

    I'm a little hesitant to move back to CURRENT.
     
  9. greyboy

    greyboy Member

    Joined:
    Jun 28, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Fuzzy, I am seeing the exact same error as you. I am running WHM 10.8.0 cPanel 10.8.2-C92 with Python 2.3.4 running the CURRENT build. I'm going to try going to STABLE and see if it helps me, too.

    -N

    Code:
    May 16 11:37:18 2006 (20985) Uncaught runner exception: 'function' object has no attribute 'rfind'
    May 16 11:37:18 2006 (20985) Traceback (most recent call last):
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
        self._onefile(msg, msgdata)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 167, 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/Hold.py", line 157, in process
        if mlist.require_explicit_destination and \
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 1331, in HasExplicitDest
        last_underscore = listfullname.rfind('_');
    AttributeError: 'function' object has no attribute 'rfind'
    
    May 16 11:37:18 2006 (20985) SHUNTING: 1147713298.511507+5f231215ffca1c023f238f4390c665007b8be738
     
  10. fuzzie

    fuzzie Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    I opened a ticket too...and asked about going back to CURRENT. They said to wait until a patch is out.
    Good luck.
     
  11. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    232
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    St. Charles, MO
    The wrapper file doesn't exist is the forst problem I've found with this error.

    /usr/local/cpanel/3rdparty/mailman/mail/wrapper
    /bin/ls: /usr/local/cpanel/3rdparty/mailman/mail/wrapper: No such file or directory

    root@cpanel [/usr/local/cpanel/3rdparty/mailman/mail]# ls
    ./ ../ mailman*


    Where is this pipe to the mailman wrapper being called from, I have not found anything with wrapper in it in the /etc /etc/vfilters /etc/vdomainaliases /etc/valiases /scripts

    I checked 2 of my other cPanel servers, and there's no wrapper program in that mailman/mail directory.

    Finding out where this pipe is coming from and fixing it may take care of all the problems.

    Thanks,
    Chuck
     
  12. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    232
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    St. Charles, MO
    OK, I think I've got it figured out.

    One the old server, I believe MailMan was upgraded and the upgrade was interrupted or broken. For some reason, all of the aliases and apparently the wrapper command do not work from the old version to the new one. Something in the upgrade must have fixed the old list aliases.

    I have successfully fixed one list so far by comparing the /etc/valiases/<domain> file with the old list aliases and the new one.

    I changed /usr/local/cpanel/3rdparty/mailman/mail/wrapper in there to /usr/local/cpanel/3rdparty/mailman/mail/mailman

    I also had to change the accompanying command that follows...

    /usr/local/cpanel/3rdparty/mailman/mail/wrapper mailcmd

    is now

    /usr/local/cpanel/3rdparty/mailman/mail/mailman request

    And so on...

    I hope this helps you guys.

    Thanks,
    Chuck
     
  13. kokoman

    kokoman Active Member

    Joined:
    Nov 28, 2002
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    BA, Argentina
    Hello, if the problem is only when a user want to administrate their pending requests, the solution is to delete the empty file /usr/local/cpanel/3rdparty/mailman/lists/<list>/request.pck
     
Loading...

Share This Page