Open GoogleCodeExporter opened 9 years ago
https://developers.google.com/appengine/docs/python/mail/sendingmail
(...)
2. The address of the user for the current request signed in with a Google
Account. You can determine the current user's email address with the Users API.
The user's account must be a Gmail account, or be on a domain managed by Google
Apps.
3. Any valid email receiving address for the app (such as
xxx@APP-ID.appspotmail.com).
4. Any valid email receiving address of a domain account, such as
support@example.com. Domain accounts are accounts outside of the Google domain
with email addresses that do not end in @gmail.com or @APP-ID.appspotmail.com.
(...)
Rietveld uses reply@<appid>.appspotmail.com to receive the emails. As such in
Chromium, we added reply@chromiumcodereview-hr.appspotmail.com as a member to
chromium-reviews@chromium.org.
In practice, Rietveld uses the person who is sending the message as the From,
which is described above as being "valid" if it is the currently set user. The
code is at:
https://code.google.com/p/rietveld/source/browse/codereview/views.py#3674
The problem is that @chromium.org fall into #2 while non Google Apps users like
@intel.com and @adobe.com falls into #4. I assume the email headers generated
by AppEngine's email system for #4 look much more "forged" that the ones that
falls into #2.
One option is to revert to using
from=django_settings.RIETVELD_INCOMING_MAIL_ADDRESS only when the user is using
a GA- account, that it, a Google Account that is not member of a Google Apps
domain or on the GMail domain.
Original comment by maruel@chromium.org
on 24 Oct 2013 at 12:30
Original issue reported on code.google.com by
bjone...@adobe.com
on 24 Oct 2013 at 3:43