Re: [CentOS] Unable to relay mail through gmail anymore

2022-08-05 Thread Frank Bures

On 8/5/22 11:14, Richard wrote:



Date: Friday, August 05, 2022 10:39:04 -0400
From: Frank Bures 

I have my CentOS7 sendmail configured to relay outgoing system
e-mail through my gmail account.

The setup recently stopped working. Gmail SMTP keeps returning
"service unavailable".

I think it has something to do with the recent changes in Gmail
authentication procedures.

Does anyone know how to make the relaying work again?  I could not
find anything on the Net.


I'm assuming you are pushing the mail to gmail through port 465 or
587. If that's the case, if you aren't already, you will need to set
up and use a google "app password". Alternatively, get whatever you
are using on the centos side that authenticates with gmail to support
OAuth 2.

You can no longer use your google side-wide password to authenticate
3rd party apps with gmail so need to use one of the alternatives in
its place.

I would actually expect you to get an authentication failure message
so they may have changed something else that disabled this approach.


"app password" has done the job.

Thanks a bunch
Frank


--


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to relay mail through gmail anymore

2022-08-05 Thread Leon Fauster via CentOS

Am 05.08.22 um 16:39 schrieb Frank Bures:

Hi,

I have my CentOS7 sendmail configured to relay outgoing system e-mail 
through my gmail account.


The setup recently stopped working. Gmail SMTP keeps returning "service 
unavailable".


I think it has something to do with the recent changes in Gmail 
authentication procedures.


Does anyone know how to make the relaying work again?  I could not find 
anything on the Net.




https://developers.google.com/gmail/imap/xoauth2-protocol

--
Leon
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to relay mail through gmail anymore

2022-08-05 Thread Fred
I can send mail from my C7  box (via sendmail) to myself at my gmail
account using gmail's smtp server. I don't very often forward mail THRU
gmail to other sites, so I don't know if that has changed.

On Fri, Aug 5, 2022 at 11:14 AM Richard 
wrote:

>
> > Date: Friday, August 05, 2022 10:39:04 -0400
> > From: Frank Bures 
> >
> > I have my CentOS7 sendmail configured to relay outgoing system
> > e-mail through my gmail account.
> >
> > The setup recently stopped working. Gmail SMTP keeps returning
> > "service unavailable".
> >
> > I think it has something to do with the recent changes in Gmail
> > authentication procedures.
> >
> > Does anyone know how to make the relaying work again?  I could not
> > find anything on the Net.
>
> I'm assuming you are pushing the mail to gmail through port 465 or
> 587. If that's the case, if you aren't already, you will need to set
> up and use a google "app password". Alternatively, get whatever you
> are using on the centos side that authenticates with gmail to support
> OAuth 2.
>
> You can no longer use your google side-wide password to authenticate
> 3rd party apps with gmail so need to use one of the alternatives in
> its place.
>
> I would actually expect you to get an authentication failure message
> so they may have changed something else that disabled this approach.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to relay mail through gmail anymore

2022-08-05 Thread Richard


> Date: Friday, August 05, 2022 10:39:04 -0400
> From: Frank Bures 
> 
> I have my CentOS7 sendmail configured to relay outgoing system
> e-mail through my gmail account.
> 
> The setup recently stopped working. Gmail SMTP keeps returning
> "service unavailable".
> 
> I think it has something to do with the recent changes in Gmail
> authentication procedures.
> 
> Does anyone know how to make the relaying work again?  I could not
> find anything on the Net.

I'm assuming you are pushing the mail to gmail through port 465 or
587. If that's the case, if you aren't already, you will need to set
up and use a google "app password". Alternatively, get whatever you
are using on the centos side that authenticates with gmail to support
OAuth 2. 

You can no longer use your google side-wide password to authenticate
3rd party apps with gmail so need to use one of the alternatives in
its place.

I would actually expect you to get an authentication failure message
so they may have changed something else that disabled this approach.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Unable to relay mail through gmail anymore

2022-08-05 Thread Frank Bures

Hi,

I have my CentOS7 sendmail configured to relay outgoing system e-mail 
through my gmail account.


The setup recently stopped working. Gmail SMTP keeps returning "service 
unavailable".


I think it has something to do with the recent changes in Gmail 
authentication procedures.


Does anyone know how to make the relaying work again?  I could not find 
anything on the Net.


Thanks
Frank

--


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos