fix: ajout mail mapping quand redirigé

This commit is contained in:
croax 2022-11-25 23:35:45 +01:00 committed by croax
parent 45fc84268d
commit 7ed15d81eb
2 changed files with 3 additions and 1 deletions

View file

@ -47,4 +47,6 @@ echo -n "Reloading postfix..."
postfix reload > /dev/null 2>&1
echo "[OK]"
echo "$user $email" >> /home/admin666/email_address_backup
$SCRIPTPATH/sendmail_redirect.sh $user $email

View file

@ -10,7 +10,7 @@ password=$2
echo -n "Sending mail to \"$email\" for lost account ..."
date=$( date -R )
title_recode=$( echo "Nouveaux accès courriel" | recode ...UTF-8/QP )
title_recode=$( echo "Nouvel accès courriel" | recode ...UTF-8/QP )
title=$( echo "=?UTF-8?Q?$title_recode?=" )
headers=$(cat<< EOF