Bläddra i källkod

only member emails are archived

Pi 1 år sedan
förälder
incheckning
bd5329aefc
1 ändrade filer med 1 tillägg och 1 borttagningar
  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