tThe author e-mail needs to be encoded properly for sendmail cmd. - sfeed_sendmail - sfeed to sendmail command
(HTM) git clone git://r-36.net/sfeed_sendmail
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit eeecabfb4220f14c86778550b02567280d47dc33
(DIR) parent e4056979003442010880a8e4f926aa3775caea9b
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 10 Oct 2020 15:10:35 +0200
The author e-mail needs to be encoded properly for sendmail cmd.
Diffstat:
sfeed_sendmail | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/sfeed_sendmail b/sfeed_sendmail
t@@ -32,7 +32,7 @@ do
fromaddr="${author}"
;;
*)
- fromaddr="$(printf "%s none@none.no" "${author}")"
+ fromaddr="$(printf "\"%s\" <none@none.no>" "${author}")"
;;
esac