just an example, you move only the file that you need to modify
do rm -rf /etc/e-smith/templates-custom/etc/sogo/sogo.conf
rm -rf /etc/e-smith/templates-custom/etc/sogo/sogo.conf
then follow up