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 user options redirects

Discussion in 'E-mail Discussions' started by JanKrohn, Feb 10, 2016.

  1. JanKrohn

    JanKrohn Active Member

    Joined:
    May 6, 2013
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Phnom Penh
    cPanel Access Level:
    Root Administrator
    Hi,

    The latest WHM update introduced an issue with my Mailman lists.

    Users can login to their subscriber option pages fine, for example:
    domain/mailman/options/vyrso-90_example.net

    If they make any changes to their subscription, usually a page such as follows would open:
    domain/mailman/options/vyrso-90_example.net/someusr%40gmail.com

    However, instead, they are being redirected to https://domain/ and whatever changes they've made to their settings don't take effect.

    I've done some research, and rebuilt Apache making sure that Symlink Race Condition Protection is disabled (I don't think it was ever enabled). I couldn't find other possible root causes.

    My WHM version: WHM 54.0 (build 12)

    Any idea what's wrong?

    Jan
     
    #1 JanKrohn, Feb 10, 2016
    Last edited by a moderator: Feb 10, 2016
  2. JanKrohn

    JanKrohn Active Member

    Joined:
    May 6, 2013
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Phnom Penh
    cPanel Access Level:
    Root Administrator
    Some more tries; all without success:
    * updated to build 14
    * run /scripts/resetmailmanurls
    * run /scripts/fixmailman

    Any other ideas would be really welcome.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you let us know the specific URL used to access mailman (without a real domain name), and which specific mailman option you are clicking on and saving changes to when you are redirected? Also, is the redirect to purely the domain name on it's own? Or, are you referring to a redirect from the hostname to the domain name?

    Thank you.
     
  4. JanKrohn

    JanKrohn Active Member

    Joined:
    May 6, 2013
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Phnom Penh
    cPanel Access Level:
    Root Administrator
    Let me add a few screenshots to make clear what's happening.
    I start of as a subscriber who clicks the "edit subscription" link that comes in the footer of every email. I come out at screenshot 1:
    screenshot1.png
    Then I enter my email address, and come out at screenshot 2:
    screenshot2.png
    Then I enter my password, and come out at screenshot 3:
    screenshot3.png

    I make some changes in the subscription. Clicking the button submits the data to http://domain/mailman/options/vyrso-90_domain, however, I come out at https://domain instead. Same thing happens when I try to unsubscribe.

    So actually my users can't unsubscribe any longer, and I'm in violation of CAN-SPAM.

    Any help would be greatly appreciated.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please post the output from the following command:

    Code:
    grep DEFAULT_URL_PATTERN  /usr/local/cpanel/3rdparty/mailman/Mailman/Defaults.py
    Thank you.
     
  6. JanKrohn

    JanKrohn Active Member

    Joined:
    May 6, 2013
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Phnom Penh
    cPanel Access Level:
    Root Administrator
    Thanks for your reply. Here's the output.

    Code:
    DEFAULT_URL_PATTERN = 'http://%s/mailman/'
    Jan
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  8. JanKrohn

    JanKrohn Active Member

    Joined:
    May 6, 2013
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Phnom Penh
    cPanel Access Level:
    Root Administrator
    Thanks! I've just created ticket 7471255.

    Jan
     
  9. JanKrohn

    JanKrohn Active Member

    Joined:
    May 6, 2013
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Phnom Penh
    cPanel Access Level:
    Root Administrator
    cPanel support found the problem! :)

    ModSecurity OWASP rule 960035 needs to be deactivated. It conflicts with the Mailman URL.

    > WHM: Home »Security Center »ModSecurity(tm) Tools » Edit Custom Rule
    > 960035 <-unique ID <- search for this
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page