Daniel Gibbs 9 лет назад
Родитель
Сommit
b3bf65c424
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/alert_email.sh

+ 1 - 1
lgsm/functions/alert_email.sh

@@ -231,7 +231,7 @@ fn_details_disk
 fn_details_gameserver
 fn_details_gameserver
 fn_alert_email_template_logs
 fn_alert_email_template_logs
 if [ -n "${emailfrom}" ]; then
 if [ -n "${emailfrom}" ]; then
-	mail -s "${alertsubject}" -a "From: ${emailfrom}" "${email}" < "${emaillog}"
+	mail -s "${alertsubject}" -r "${emailfrom}" "${email}" < "${emaillog}"
 else
 else
 	mail -s "${alertsubject}" "${email}" < "${emaillog}"
 	mail -s "${alertsubject}" "${email}" < "${emaillog}"
 fi
 fi