chown apache:apache /var/lib/squirrelmail/prefs /var/spool/squirrelmail/attach
chmod 0700 /var/lib/squirrelmail/prefs /var/spool/squirrelmail/attach
( cd usr/share/squirrelmail/config ; rm -rf config.php )
( cd usr/share/squirrelmail/config ; ln -sf /etc/squirrelmail/config.php config.php )
( cd usr/share/squirrelmail/config ; rm -rf config_local.php )
( cd usr/share/squirrelmail/config ; ln -sf /etc/squirrelmail/config_local.php config_local.php )
( cd usr/share/squirrelmail/plugins/squirrelspell ; rm -rf sqspell_config.php )
( cd usr/share/squirrelmail/plugins/squirrelspell ; ln -sf /etc/squirrelmail/sqspell_config.php sqspell_config.php )
( cd var/lib/squirrelmail/prefs ; rm -rf default_pref )
( cd var/lib/squirrelmail/prefs ; ln -sf /etc/squirrelmail/default_pref default_pref )
