Re: [Trac] gmail smtp Sign-in attempt prevented

2015-09-05 Thread Peter Suter

On 04.09.2015 23:24, Aaron Laws wrote:

We strongly recommend that you use a secure app, like Gmail, to access
your account. All apps made by Google meet these security standards.
Using a less secure app, on the other hand, could leave your account
vulnerable.


Is this new gmail behaviour? Did I miss something in my settings? Thanks!


Yes, it's (relatively) new gmail behavior. Apparently they want to push 
OAuth based logins, and refer to all non-OAuth apps as "less secure".


See 
http://security.stackexchange.com/questions/66025/what-are-the-dangers-of-allowing-less-secure-apps-to-access-my-google-account
and 
http://www.ghacks.net/2014/07/21/gmail-starts-block-less-secure-apps-enable-access/


--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] gmail smtp Sign-in attempt prevented

2015-09-05 Thread Aaron Laws
On Sat, Sep 5, 2015 at 2:03 AM, Peter Suter  wrote:

>
> Yes, it's (relatively) new gmail behavior. Apparently they want to push
> OAuth based logins, and refer to all non-OAuth apps as "less secure".
>
> See
> http://security.stackexchange.com/questions/66025/what-are-the-dangers-of-allowing-less-secure-apps-to-access-my-google-account
> and
> http://www.ghacks.net/2014/07/21/gmail-starts-block-less-secure-apps-enable-access/
>
>
Thanks for those links, that led me to the holy grail:

https://www.google.com/settings/u/1/security/lesssecureapps

Looks like I'm up and rolling again.

Aaron

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] gmail smtp Sign-in attempt prevented

2015-09-04 Thread Aaron Laws
I set up gmail smtp according 
to http://trac.edgewall.org/wiki/TracNotification#UsingGMailastheSMTPrelayhost. 
I have

[notification]
admit_domains =
always_notify_owner = false
always_notify_reporter = false
always_notify_updater = true
ambiguous_char_width = single
batch_subject_template = $prefix Batch modify: $tickets_descr
email_sender = SmtpEmailSender
ignore_domains =
mime_encoding = base64
sendmail_path =
smtp_always_bcc =
smtp_always_cc = dartm...@gmail.com
smtp_default_domain =
smtp_enabled = true
smtp_from = t...@gmail.com
smtp_from_author = true
smtp_from_name = the trac system
smtp_password = ***
smtp_port = 587
smtp_replyto = dartm...@gmail.com
smtp_server = smtp.gmail.com
smtp_subject_prefix = __default__
smtp_user = dartm...@gmail.com
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = true
use_short_addr = false
use_tls = true


When I try this, I get an e-mail from gmail saying, 

Hi Aaron,Someone just tried to sign in to your Google Account 
dartme18@gmail.comfrom an app that doesn't meet modern security standards.
Details:
Friday, September 4, 2015 5:10 PM (Eastern Daylight Time)
Indiana, USA*We strongly recommend that you use a secure app, like Gmail, 
to access your account. All apps made by Google meet these security 
standards. Using a less secure app, on the other hand, could leave your 
account vulnerable.

Is this new gmail behaviour? Did I miss something in my settings? Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] gmail smtp Sign-in attempt prevented

2015-09-04 Thread Ryan Ollos
On Fri, Sep 4, 2015 at 2:24 PM, Aaron Laws  wrote:

> I set up gmail smtp according to
> http://trac.edgewall.org/wiki/TracNotification#UsingGMailastheSMTPrelayhost.
> I have
>
> [notification]
> admit_domains =
> always_notify_owner = false
> always_notify_reporter = false
> always_notify_updater = true
> ambiguous_char_width = single
> batch_subject_template = $prefix Batch modify: $tickets_descr
> email_sender = SmtpEmailSender
> ignore_domains =
> mime_encoding = base64
> sendmail_path =
> smtp_always_bcc =
> smtp_always_cc = dartm...@gmail.com
> smtp_default_domain =
> smtp_enabled = true
> smtp_from = t...@gmail.com
> smtp_from_author = true
> smtp_from_name = the trac system
> smtp_password = ***
> smtp_port = 587
> smtp_replyto = dartm...@gmail.com
> smtp_server = smtp.gmail.com
> smtp_subject_prefix = __default__
> smtp_user = dartm...@gmail.com
> ticket_subject_template = $prefix #$ticket.id: $summary
> use_public_cc = true
> use_short_addr = false
> use_tls = true
>
>
> When I try this, I get an e-mail from gmail saying,
>
> Hi Aaron,Someone just tried to sign in to your Google Account
> dartme18@gmail.comfrom an app that doesn't meet modern security standards.
> Details:
> Friday, September 4, 2015 5:10 PM (Eastern Daylight Time)
> Indiana, USA*We strongly recommend that you use a secure app, like Gmail,
> to access your account. All apps made by Google meet these security
> standards. Using a less secure app, on the other hand, could leave your
> account vulnerable.
>
> Is this new gmail behaviour? Did I miss something in my settings? Thanks!
>

I haven't seen that before, but I haven't used Gmail as an SMTP server for
many months. On a Linux server it's easy to configure Exim or similar as an
outgoing SMTP server. Another option is to use SendGrid or a similar
service. SendGrid allows 10k emails per day on their free tier.
https://support.sendgrid.com/hc/en-us/articles/200328026-Recommended-SMTP-settings

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.