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.

Mailmane error after VERP_CONFIRMATIONS change

Discussion in 'E-mail Discussions' started by brickard, Nov 12, 2004.

  1. brickard

    brickard Registered

    Joined:
    Nov 12, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Mailman error after VERP_CONFIRMATIONS change

    I recently had a configuration change made in my mailman software to enable more user friendly subject headers for invitations to email lists on my server. This is the change that was made.

    Code:
    # For nicer confirmation emails, use a VERP-like format which encodes the
     # confirmation cookie in the reply address.  This lets us put a more user
     # friendly Subject: on the message, but requires cooperation from the MTA.
     # Format is like VERP_FORMAT above, but with the following substitutions:
     #
     # %(confirm)s -- the list-confirm mailbox will be set here
     # %(cookie)s  -- the confirmation cookie will be set here
     VERP_CONFIRM_FORMAT = '%(addr)s+%(cookie)s'
    
     # This is analogous to VERP_REGEXP, but for splitting apart the
     # VERP_CONFIRM_FORMAT.
     VERP_CONFIRM_REGEXP = r'^(?P<addr>[^+]+?)\+(?P<cookie>[^@]+)@.*$'
    
    
    This line was    
    
        # Set this to Yes to enable VERP-like (more user friendly) confirmations
        VERP_CONFIRMATIONS = No
    
    changed to this
    
        VERP_CONFIRMATIONS = yes

    Now, when trying to edit the public HTML pages, all of the lists created prior to the modification are
    creating the following error message. Lists created after the change do not appear to be affected


    Code:
    We're sorry, we hit a bug!
    
    If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site 
    with a description of what happened. Thanks!
    
    Traceback:
    
    Traceback (most recent call last):
      File "/usr/local/cpanel/3rdparty/mailman/scripts/driver", line 87, in run_main
        main()
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/edithtml.py", line 123, in main
        ChangeHTML(mlist, cgidata, template_name, doc)
      File "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/edithtml.py", line 164, in ChangeHTML
        fp = open(os.path.join(langdir, template_name), 'w')
    IOError: [Errno 13] Permission denied: '/usr/local/cpanel/3rdparty/mailman/lists/creativeminds_vlca.net/en/options.html'
    
    
    Python information:
    
    Variable	Value
    sys.version	2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)]
    sys.executable	/usr/bin/python2
    sys.prefix	/usr
    sys.exec_prefix	/usr
    sys.path	/usr
    sys.platform	linux2
    
    
    
    Environment variables:
    
    Variable	Value
    PATH_INFO 	/creativeminds_vlca.net/options.html
    HTTP_ACCEPT 	text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    CONTENT_TYPE 	application/x-www-form-urlencoded
    HTTP_REFERER 	http://vlca.net/mailman/edithtml/creativeminds_vlca.net/options.html
    SERVER_SOFTWARE 	Apache/1.3.32 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.9 FrontPage/5.0.2.2634a mod_ssl/2.8.21 OpenSSL/0.9.7a
    PYTHONPATH 	/usr/local/cpanel/3rdparty/mailman
    SCRIPT_FILENAME 	/usr/local/cpanel/3rdparty/mailman/cgi-bin/edithtml
    SERVER_ADMIN 	webmaster@vlca.net
    SCRIPT_NAME 	/mailman/edithtml
    SERVER_SIGNATURE 	
    Apache/1.3.32 Server at www.vlca.net Port 80
    REQUEST_METHOD 	POST
    HTTP_HOST 	vlca.net
    HTTP_KEEP_ALIVE 	300
    SERVER_PROTOCOL 	HTTP/1.1
    QUERY_STRING 	
    REQUEST_URI 	/mailman/edithtml/creativeminds_vlca.net/options.html
    CONTENT_LENGTH 	17819
    HTTP_ACCEPT_CHARSET 	ISO-8859-1,utf-8;q=0.7,*;q=0.7
    HTTP_USER_AGENT 	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
    HTTP_CONNECTION 	keep-alive
    HTTP_COOKIE 	creativeminds_vlca.net+admin=280200000069b7cc9441732800000030663264353465313831343038336166636165663661353834386234373836396339313063396533; test_vlca.net+admin=28020000006963cd9441732800000031366138633164353235383639343039613035616439646232333838613630386535663533656562
    SERVER_NAME 	www.vlca.net
    REMOTE_ADDR 	65.25.211.123
    REMOTE_PORT 	1981
    HTTP_ACCEPT_LANGUAGE 	en-us,en;q=0.5
    PATH_TRANSLATED 	/home/vlcanet/public_html/creativeminds_vlca.net/options.html
    SERVER_PORT 	80
    GATEWAY_INTERFACE 	CGI/1.1
    HTTP_ACCEPT_ENCODING 	gzip,deflate
    SERVER_ADDR 	147.202.32.131
    DOCUMENT_ROOT 	/home/vlcanet/public_html
    

    According to this entry in the mailman archives

    http://www.mail-archive.com/mailman-users@python.org/msg28295.html

    and this faq entry


    http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.011.htp


    the problem apppears to be a conflict with cPanel

    Is there some sort of fix for this or am I going to have to undo the changes to make the old lists work properly?

    Thanks in advance for any help

    Bill
     
    #1 brickard, Nov 12, 2004
    Last edited: Nov 13, 2004
Loading...

Share This Page