我偶尔会收到来自 Google ( accounts-noreply@google.com
) 的电子邮件,类似于以下内容:
Subject: Suspicious sign in prevented
Someone recently tried to use an application to sign in to your Google
Account, ________@gmail.com. We prevented the sign-in attempt in case
this was a hijacker trying to access your account. Please review the
details of the sign-in attempt:
Monday, November 19, 2012 8:40:55 PM GMT
IP Address: 184.72.161.49 (amazonaws.com)
Location: Dixmoor, IL, USA
If you do not recognize this sign-in attempt, someone else might be trying
to access your account. You should sign in to your account and reset your
password immediately. Find out how at
http://support.google.com/accounts?p=reset_pw
If this was you, and you want to give this application access to your
account, complete the troubleshooting steps listed at
http://support.google.com/mail?p=client_login
Sincerely,
The Google Accounts Team
© 2012 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
You have received this mandatory email service announcement to update you
about important changes to your Google product or account.
确实,这就是我,因为我在Heroku上运行了一个应用程序(因此 IP 地址来自amazonaws.com
),并且我通过 Gmail SMTP 直接从我的应用程序发送电子邮件(我认为这无关紧要,但具体来说,我m 使用我为 Rails 3.2 更新的gmail_smtp 插件)。
有没有办法避免这个警告,或者有办法将已知 IP 列入白名单?