emails generated by update-bugzilla on web1.stage.bugs.scl3.mozilla.com are not readable. they have a content-type of application/octet-stream, which i suspect one way to fix this would be to build a full mime message with a correct content-type header (text/plain, charset utf8) and pipe to sendmail for delivery.
to clarify: by "not readable", the message body is empty, and with post-box i see a single attachment (.dmg file) which is the message content. dkl reported that with thunderbird all he sees is a blank email.
Off the top of my head, I'm guessing it's the printf that's messing up. I'll see if I can switch that around a bit.
Going to deploy glob's patch to the script.
Assignee: server-ops-devservices → shyam
(In reply to Shyam Mani [:fox2mike] from comment #3) > Going to deploy glob's patch to the script. which is... change the following line: printf "%s\n%s\n* Done!\n" "$output" "$updateout" | mail -s "bzr update on $site" $recipientlist to: recipientlist=`echo "$recipientlist" | sed 's/ /,/g'` header=$(cat <<EOF Subject: bzr update on $site To: $recipientlist From: $USER@$HOSTNAME Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EOF ) printf "%s\n\n%s\n%s\n* Done!\n" "$header" "$output" "$updateout" | sendmail -t
Still pending a puppet error (unrelated to this) that I'm waiting on a proper fix for.
This has been applied, though I don't remember seeing mail.
glob did a bunch of debugging, but didn't really change anything. Seems to work fine now. Puppet has been re-enabled, closing the bug. Thanks glob!
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in before you can comment on or make changes to this bug.