Quellcode durchsuchen

only member emails are archived

Pi vor 1 Jahr
Ursprung
Commit
bd5329aefc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      cropswap-sendmail.sh

+ 1 - 1
cropswap-sendmail.sh

@@ -77,7 +77,7 @@ for email in "${!SUBSCRIBED[@]}"; do
 	"$SENDMAIL" -F "${FROM}" -f "${MAILGROUP}" "${SUBSCRIBED["$email"]} <${email}>" < mail
 	DELIVERED=true
 done
-if in_group_aliases "${MAILGROUP}"
+if [ "${MAILGROUP}" == "cropswap-members@shandan.one" ]
 then
 	"$SENDMAIL" -F "${FROM}" -f "${MAILGROUP}" "${CROPSWAPARCHIVE}" < mail
 fi