From b32928e4fa157de1de48c72a7b3f27aca806c2fb Mon Sep 17 00:00:00 2001 From: Krakinou Date: Wed, 22 May 2019 12:17:02 +0200 Subject: [PATCH] update postfix -f --- scripts/upgrade | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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