diff --git a/scripts/upgrade b/scripts/upgrade index b7e7806..a6f8ddd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -176,10 +176,13 @@ if [ ! -e $final_path/lang/it_IT ]; then ln -s $final_path/lang/it $final_path/lang/it_IT fi +#setting postfix to use virtual aliases file +# Add postfix configuration hook and regen postfix conf #setting postfix to use virtual aliases file # Add postfix configuration hook and regen postfix conf cp -R ../sources/hooks/conf_regen/98-postfix_emailpoubelle /usr/share/yunohost/hooks/conf_regen/ -yunohost service regen-conf postfix +mv /etc/postfix/main.cf /etc/postfic/main.cf.emailpoubelle.bak +yunohost service regen-conf postfix -f #================================================= # SECURE FILES AND DIRECTORIES