/scripts/upcp) runs, it executes the webmail script found at /usr/local/cpanel/install/webmail. This, in turn, executes /usr/local/cpanel/bin/update-squirrelmail.
The update-squirrelmail script then does the following: rm -rf /usr/local/cpanel/base/3rdparty/squirrelmail).
update-squirrelmail, extracts the appropriate SquirrelMail source tarball to /usr/local/cpanel/base/3rdparty.
root and the group wheel.
755.
update-squirrelmail script checks for custom SquirrelMail tarballs in the following locations: /var/cpanel/squirrelmail/squirrelmail-local.tar — Use this location for an uncompressed tarball you want to apply to SquirrelMail regardless of version.
/var/cpanel/squirrelmail/squirrelmail-local.tar.gz — Use this location for a compressed tarball you want to apply to SquirrelMail regardless of version.
/var/cpanel/squirrelmail/squirrelmail-$sqversion-local.tar — Use this location for an uncompressed tarball you want to apply to a specific SquirrelMail version.
/var/cpanel/squirrelmail/squirrelmail-$sqversion-local.tar.gz — Use this location for a compressed tarball you want to apply to a specific SquirrelMail version.
/var/cpanel/squirrelmail/squirrelmail-local.tar and /var/cpanel/squirrelmail/squirrelmail-1.49a-local.tar.gz exist, the latter will be used, assuming its version number is specified in the update-squirrelmail script.
$sqversion must match the sqversion variable defined in update-squirrelmail. Thus, in update-squirrelmail, if sqversion='1.49a', the custom tarball should be named squirrelmail-1.49a-local.tar.gz.
squirrelmail, all lowercase and without a version number. /usr/local/cpanel/base/3rdparty/squirrelmail
/usr/local/cpanel/base/3rdparty/squirrelmail — but starts with squirrelmail.
After determining which tarball to use for the source install, and extracting it, the update-squirrelmail script checks for the following: /var/cpanel/squirrelmail/overlay.tar — Use this location for an uncompressed overlay you want to apply to SquirrelMail regardless of version.
/var/cpanel/squirrelmail/overlay.tar.gz — Use this location for a compressed overlay you want to apply to SquirrelMail regardless of version.
/var/cpanel/squirrelmail/overlay.$sqversion.tar — Use this location for an uncompressed overlay you want to apply to a specific SquirrelMail version.
/var/cpanel/squirrelmail/overlay.$sqversion.tar.gz — Use this location for a compressed overlay you want to apply to a specific SquirrelMail version.
$sqversion must match the version number specified in the update-squirrelmail script.
update-squirrelmail checks for the existence of /var/cpanel/squirrelmail/install. update-squirrelmail script will execute it and terminate, thus bypassing cPanel's manipulation of the SquirrelMail configuration files. /var/cpanel/squirrelmail/install exists but is not executable, the file contents will be printed to STDOUT and the normal cPanel configuration of SquirrelMail will continue with the remaining steps detailed in the General Installation Procedure.
Copyright © cPanel 2000–2011.