set email from address in twlight_deploy.sh
@@ -10,5 +10,5 @@ update="${TWLIGHT_HOME}/bin/./twlight_update_code.sh"
if failure=$( ! ${update} ) && [ -n "${TWLIGHT_ERROR_MAILTO+isset}" ]
then
- echo ${failure} | mail -s "${update} failed for $(hostname -f)" ${TWLIGHT_ERROR_MAILTO}
+ echo ${failure} | mail -a "From: Wikipedia Library Card Platform <noreply@wikipedialibrary.wmflabs.org>" -s "${update} failed for $(hostname -f)" ${TWLIGHT_ERROR_MAILTO}
fi
