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!

bug with /scripts/fixvaliases

Discussion in 'General Discussion' started by __arjun__, Aug 2, 2005.

  1. __arjun__

    __arjun__ Guest

    I just found one bug with /scripts/fixvaliases.
    It is chmoding user:mail for the main domain only.
    It skips any addon domains etc, seems because of the following section of the code:


    Code:
                    open(F,"/var/cpanel/users/$file");
                            while(<F>) {
                                    if (/^DNS=(\S+)/) { $dns = $1;  }
                            }
                    close(F);
    
    which checks only DNS= entries disregarding entires like DNS2 etc ...

    Can't cpanel guys fix this pleaseeeeee ?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You'll have to log it in bigzilla.

    That said, /scripts/mailperm does it correctly and is a better script to use.
     
    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