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 error, Permission denied

Discussion in 'E-mail Discussions' started by kawo, Oct 30, 2003.

  1. kawo

    kawo Member

    Joined:
    Sep 4, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    My linux box mailman return this error when a user want to send a email to the mailing list.


    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/mailman post list_mydomain.com
    generated by list@mydomain.com
    local delivery failed

    The following text was generated during the delivery attempt:

    ------ pipe to |/usr/local/cpanel/3rdparty/mailman/mail/mailman post list_mydomain.com
    generated by list@mydomain.com ------

    Traceback (most recent call last):
    File "/usr/local/cpanel/3rdparty/mailman/scripts/post", line 94, in ?
    main()
    File "/usr/local/cpanel/3rdparty/mailman/scripts/post", line 89, in main
    msg.Enqueue(mlist, tolist=1)
    File "../Mailman/Message.py", line 176, in Enqueue
    File "../Mailman/Utils.py", line 601, in open_ex
    IOError: [Errno 13] Permission denied: '/usr/local/cpanel/3rdparty/mailman/qfiles/a20ed636246362c08223cf7ec318603884c59b6f.db'


    How can I fix that?
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    16
    Dear kawo,

    This seems to be more related to httpd.conf and some permission issues. Please refer to the following threads

    http://forums.cpanel.net/showthread.php?s=&threadid=12230

    http://forums.cpanel.net/showthread.php?s=&threadid=3308


    Regards,
     
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Just curious MickeyMouse, could you please explain to everyone how there is any relationship at all between mailman and httpd.conf?

    I would really like for you to enlighten us all with your knowledge on how you arrived at this.
     
  4. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    http://forums.cpanel.net/showthread.php?s=&threadid=12230
    Techs for my server solved it

    I don't know exactly what they did but the techs for my server said there was an incorrect setting in httpd.conf, permissions problems and some missing mailman files.

    ---

    Probably what mickeymouse was referring to, although I don't think they know the specifics. Sounds like the above had a combination of errors.
     
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Considering mailman is on the cpanel side and not public side then httpd.conf should have absolutly nothing to do with it. If it does then there are some serious security issues to deal with.

    The last time a saw a mailman issue is because of a corrupt binary in /usr/local/cpanel/bin it was corrected by mv bin to bin2 and running upcp to have it recreated. Voila! mailman issue gone. But the symptoms where a little different.
     
  6. kawo

    kawo Member

    Joined:
    Sep 4, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I am wondering the user to run the mailman scripts got error.
    As I have checked with another cpanel box, the setting of the permission for those files are the same.

    It seems that the scripts for mailman in posting to list is not using mailman as user. But I don't know how to check that and fix that. :(
     
  7. wptechno

    wptechno Active Member

    Joined:
    Jun 10, 2004
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    run this command:

    /usr/local/cpanel/3rdparty/mailman/bin/check_perms -f

    That will fix your permissions automatically.
     
  8. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Please do not dig up 2 year old threads.
     
Loading...

Share This Page