Parcourir la source

only member emails are archived

Pi il y a 1 an
Parent
commit
bd5329aefc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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