piped base64-encoded emails for commbadge not including email payload/body, only headers

RESOLVED INVALID

Status

Cloud Services
Operations: Marketplace
RESOLVED INVALID
3 years ago
3 years ago

People

(Reporter: ngoke, Assigned: jason)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
STR:

1. Send an email to commreply+51efbd4b4f5e4a839ce7d7fb6d934815@marketplace-dev.allizom.org
2. Check the dev logs
3. Decode the base64-encoded email that was piped and logged

Expected:

Email payload is included.

Actual:

The headers (subject, to, reply-to, etc) are there, but not the email body.

Here is an example email:

RnJvbSBrbmdvQG1vemlsbGEuY29tICBXZWQgU2VwIDEwIDIwOjA4OjIwIDIwMTQKUmVjZWl2ZWQ6IGZyb20gbWFpbC5tb3ppbGxhLmNvbSAoem1tdGExLmNvcnAucGh4MS5tb3ppbGxhLmNvbSBbNjMuMjQ1LjIxNi43Ml0pCgkodXNpbmcgVExTdjEuMiB3aXRoIGNpcGhlciBESEUtUlNBLUFFUzI1Ni1HQ00tU0hBMzg0ICgyNTYvMjU2IGJpdHMpKQoJKE5vIGNsaWVudCBjZXJ0aWZpY2F0ZSByZXF1ZXN0ZWQpCglieSBteDEubWFya2V0cGxhY2UucHJvZC5tb3phd3MubmV0IChQb3N0Zml4KSB3aXRoIEVTTVRQUyBpZCA5N0VFNjEwMDI0MAoJZm9yIDxjb21tcmVwbHkrNTFlZmJkNGI0ZjVlNGE4MzljZTdkN2ZiNmQ5MzQ4MTVAbWFya2V0cGxhY2UtZGV2LmFsbGl6b20ub3JnPjsgV2VkLCAxMCBTZXAgMjAxNCAyMDowODoyMCArMDAwMCAoVVRDKQpSZWNlaXZlZDogZnJvbSBtYWlsLm1vemlsbGEuY29tIChsb2NhbGhvc3Q2LmxvY2FsZG9tYWluIFsxMjcuMC4wLjFdKQoJYnkgem1tdGExLm1haWwuY29ycC5waHgxLm1vemlsbGEuY29tIChQb3N0Zml4KSB3aXRoIEVTTVRQUyBpZCA5RjRERjEwNjM5OAoJZm9yIDxjb21tcm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l6b20ub3JnPgpNaW1lLVZlcnNpb246IDEuMCAoTWFjIE9TIFggTWFpbCA2LjUgXCgxNTA4XCkpClgtTWFpbGVyOiBBcHBsZSBNYWlsICgyLjE1MDgpCgp

Which decodes to:

From kngo@mozilla.com  Wed Sep 10 20:08:20 2014\nReceived: from mail.mozilla.com (zmmta1.corp.phx1.mozilla.com [63.245.216.72])\n\t(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.marketplace.prod.mozaws.net (Postfix) with ESMTPS id 97EE6100240\n\tfor <commreply+51efbd4b4f5e4a839ce7d7fb6d934815@marketplace-dev.allizom.org>; Wed, 10 Sep 2014 20:08:20 +0000 (UTC)\nReceived: from mail.mozilla.com (localhost6.localdomain [127.0.0.1])\n\tby zmmta1.mail.corp.phx1.mozilla.com (Postfix) with ESMTPS id 9F4DF106398\n\tfor <commreply+51efbd4b4f5e4a839ce7d7fb6d934815@marketplace-dev.allizom.org>; Wed, 10 Sep 2014 13:08:19 -0700 (PDT)\nReceived: from [192.168.1.149] (zlb1.mail.corp.phx1.mozilla.com [10.20.77.200])\n\t(Authenticated sender: kngo@mozilla.com)\n\tby zmmta1.mail.corp.phx1.mozilla.com (Postfix) with ESMTPSA id 80ACB106373\n\tfor <commreply+51efbd4b4f5e4a839ce7d7fb6d934815@marketplace-dev.allizom.org>; Wed, 10 Sep 2014 13:08:19 -0700 (PDT)\nFrom: Kevin Ngo <kngo@mozilla.com>\nContent-Type: text/plain; charset=us-ascii\nContent-Transfer-Encoding: 7bit\nSubject: TEST REPLY\nMessage-Id: <D5C46811-36EC-4686-9D2B-4FC62F7BD1B0@mozilla.com>\nDate: Wed, 10 Sep 2014 13:08:18 -0700\nTo: "commreply+51efbd4b4f5e4a839ce7d7fb6d934815@marketplace-dev.allizom.org" <commreply+51efbd4b4f5e4a839ce7d7fb6d934815@marketplace-dev.allizom.org>\nMime-Version: 1.0 (Mac OS X Mail 6.5 \\(1508\\))\nX-Mailer: Apple Mail (2.1508)\n\n

Note that I have to add a one-character padding to make it decode without error.
(Assignee)

Updated

3 years ago
Assignee: nobody → jthomas
(Assignee)

Comment 1

3 years ago
The log message is too large and is being truncated by syslog.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.