bug with /scripts/fixvaliases

A

__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 ?