Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

neomail problem

Discussion in 'E-mail Discussion' started by moalbert, Dec 7, 2002.

  1. moalbert

    moalbert Member

    Joined:
    Nov 20, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    After i upgrade the cpanel to EDGE90, my neomail still have some problem.

    When i try to read the mail in the neomail, it display the following message:
    Insecure dependency in require while running with -T switch at /usr/local/cpanel/base/neomail/neomail.pl line 2323

    When i try to move the mail to trash, it display the following message:
    Insecure dependency in require while running with -T switch at /usr/local/cpanel/base/neomail/neomail.pl line 2447

    my server is installed radhat 8.0, cpanel 5.3.0-EDGE90
    Help!!!
    regard,
    moalbert
     
  2. sky

    sky Well-Known Member

    Joined:
    Nov 24, 2002
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    156
    this i solve by changing the theme from xskin to other skin ... hmmmm wonder why i only have it with xskin :(
     
  3. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    316
    Interesting. Is is constantly happening? What happens if you switch back to Xskin, will it again give you the same error?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. atjeu

    atjeu Member
    PartnerNOC

    Joined:
    Feb 15, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    301
    Location:
    Phoenix, AZ
    FROM: Jonathan MillerDATE: 08/26/2002 14:18:14SUBJECT: [Neomail-users] insecure dependency with perl 5.8.0 Saw someone else having this same problem when running setuid root with Perl
    5.8.0:

    Insecure dependency in open while running with -T switch at
    /usr/local/httpd/cgi-bin/neomail.pl line 2775.

    I tracked down the tainted variable to be the global $folder which is read
    directly from the web form. There is code to validate the variable, but it
    still sets off Perl's newer taint check.

    Here's the fix I implemented, starting at line 193 in neomail.pl:

    my $folder;
    my @validfolders;
    if ($user) {
    my $isvalid = 0;
    @validfolders = @{&getfolders()};
    if (param(&folder&)) {
    my $basketcase = param(&folder&); # CHANGED LINE
    foreach my $checkfolder (@validfolders) {
    if ($basketcase eq $checkfolder) { # CHANGED LINE
    $folder = $checkfolder; # ADDED LINE
    $isvalid = 1;
    last;
    }
    }
    ($folder = 'INBOX') unless ( $isvalid );
    } else {
    $folder = &INBOX&;
    }
    }
     
  5. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    316
    This issue can't be related to Xskin though.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice