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.

neomail problem

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

  1. moalbert

    moalbert Member

    Joined:
    Nov 20, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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:
    0
    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:
    16
    Interesting. Is is constantly happening? What happens if you switch back to Xskin, will it again give you the same error?
     
  4. atjeu

    atjeu Member
    PartnerNOC

    Joined:
    Feb 15, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    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:
    16
    This issue can't be related to Xskin though.
     
Loading...

Share This Page