Closed
Bug 765249
Opened 13 years ago
Closed 13 years ago
modify release cfg email recipient address format to prevent spam classification
Categories
(Release Engineering :: Release Automation, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hwine, Assigned: hwine)
Details
Attachments
(1 file)
|
27.12 KB,
patch
|
hwine
:
checked-in+
|
Details | Diff | Splinter Review |
bug 756259 comment #36 proposes a change to workaround release automation emails being classified as spam. Basically, it is to use a "less ambiguous" recipient address format.
Since that might be an easy textual change easily in our control, seems worth a test.
Test works! Here's an email from buildbot:
Return-Path: release@mozilla.com
Received: from zmmta2.mail.corp.phx1.mozilla.com (LHLO
zmmta2.mail.corp.phx1.mozilla.com) (10.20.77.30) by
zmmbox4.mail.corp.phx1.mozilla.com with LMTP; Fri, 15 Jun 2012 12:45:03
-0700 (PDT)
Received: from smtp.mozilla.org (zlb1.mail.corp.phx1.mozilla.com [10.20.77.200])
by zmmta2.mail.corp.phx1.mozilla.com (Postfix) with ESMTP id 1E38B1020C3
for <hwine@mozilla.com>; Fri, 15 Jun 2012 12:45:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at mozilla.org
X-Spam-Flag: NO
X-Spam-Score: -8.301
X-Spam-Level:
X-Spam-Status: No, score=-8.301 required=6.31 tests=[AM:BOOST=-8,
BAYES_00=-1.5, MISSING_MID=1.199] autolearn=no
Received: from dev-master01.build.scl1.mozilla.com (unknown [63.245.222.66])
by mx1.mail.corp.phx1.mozilla.com (Postfix) with ESMTPS id DF5FBF256D
for <hwine@mozilla.com>; Fri, 15 Jun 2012 12:45:02 -0700 (PDT)
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Content-Type: text/plain; charset="utf8"
Date: Fri, 15 Jun 2012 12:45:02 -0700
Subject: [staging-release] Firefox 12.0b3 build1: All win32 builds now
available
From: release@mozilla.com
To: <hwine@mozilla.com>
Message-Id: <20120615194503.1E38B1020C3@zmmta2.mail.corp.phx1.mozilla.com>
QWxsIHdpbjMyIGJ1aWxkcyBub3cgYXZhaWxhYmxlCgpmdHA6Ly9kZXYtc3RhZ2UwMS5zcnYucmVs
ZW5nLnNjbDMubW96aWxsYS5jb20vcHViL21vemlsbGEub3JnL2ZpcmVmb3gvbmlnaHRseS8xMi4w
YjMtY2FuZGlkYXRlcy9idWlsZDEvd2luMzIKCi1idWlsZGJvdAoK
The above email demonstrates:
- using '<>' delimiters on recipient email addresses is supported by
our buildbot code
- using '<>' delimiters doesn't incure the TO_NO_BRKTS_DIRECT
penalty (+4 pts), which is enough to keep our messages from being
spam
- we'd be okay with removing the -8 pts for AM:BOOST, in case that
is too easily spoofed by real spam
Status: NEW → ASSIGNED
Found all instances of emails needing to be changed with:
egrep -rn "([\"'])[^<][^@\w]+@[^\w']+[^>]\1" . | grep -v ^Binary | egrep 'ecipient|email'
from the top level of buildbot-configs - 70 lines in 28 files needed changing. After some happy vimming (love macros & text objects), test via:
$ egrep -rn "([\"'])[^<][^@\w]+@[^\w']+[^>]\1" . | grep -v ^Binary | egrep 'ecipient|email' | wc -l
0
Will verify they all pass config check before committing.
Attachment #633723 -
Flags: review?
Comment 3•13 years ago
|
||
Comment on attachment 633723 [details] [diff] [review]
email address changes
Just driving by and noticed there are places where akeybl@ is explicity stated - can that be updated to release-mgmt@ so all Release Managers get the emails?
Comment on attachment 633723 [details] [diff] [review]
email address changes
r=catlee on irc
tweaked slightly from above as bug 765715 landed first
Attachment #633723 -
Flags: checked-in+
(In reply to Hal Wine [:hwine] from comment #4)
http://hg.mozilla.org/build/buildbot-configs/rev/7ec525209823
In production as of Monday's reconfig
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•11 years ago
|
Attachment #633723 -
Flags: review?
You need to log in
before you can comment on or make changes to this bug.
Description
•