Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"You are WRONG, you ol' brass-breasted fascist poop!" -- Bloom County


computers / comp.mail.sendmail / Re: Using sendmail with gmail

SubjectAuthor
* Using sendmail with gmailHans Conreid
+* Re: Using sendmail with gmailMarco Moock
|`* Re: Using sendmail with gmailHans Conreid
| +* Re: Using sendmail with gmailMarco Moock
| |`- Re: Using sendmail with gmailHans Conreid
| `* Re: Using sendmail with gmailClaus Aßmann
|  `* Re: Using sendmail with gmailGrant Taylor
|   `- Re: Using sendmail with gmailClaus Aßmann
`- Re: Using sendmail with gmailHenning Hucke

1
Using sendmail with gmail

<76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=458&group=comp.mail.sendmail#458

 copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a37:4cb:0:b0:6a5:b72e:f01c with SMTP id 194-20020a3704cb000000b006a5b72ef01cmr20890603qke.615.1654083501734;
Wed, 01 Jun 2022 04:38:21 -0700 (PDT)
X-Received: by 2002:a81:38c6:0:b0:2fe:dd1c:70f with SMTP id
f189-20020a8138c6000000b002fedd1c070fmr67771830ywa.91.1654083501564; Wed, 01
Jun 2022 04:38:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Wed, 1 Jun 2022 04:38:21 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=172.58.67.2; posting-account=3vyFtAoAAABxg8DYnOUYX9r8SbY3wM29
NNTP-Posting-Host: 172.58.67.2
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com>
Subject: Using sendmail with gmail
From: russellb...@gmail.com (Hans Conreid)
Injection-Date: Wed, 01 Jun 2022 11:38:21 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1370
 by: Hans Conreid - Wed, 1 Jun 2022 11:38 UTC

When I try to relay an e-mail with sendmail through gmail, beginning 2022 June 1, it returns:

050 535-5.7.8 Username and Password not accepted. Learn more at
050 535 5.7.8 https://support.google.com/mail/?p=BadCredentials p15-20020a635b0f000000b003fc4894c270sm1081442pgb.69 - gsmtp

The Username and Password are correct: I can log in with them in my browser.
How do I make this work?

Re: Using sendmail with gmail

<20220601134532.1b41909a@M09428>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=459&group=comp.mail.sendmail#459

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: Using sendmail with gmail
Date: Wed, 1 Jun 2022 13:45:32 +0200
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <20220601134532.1b41909a@M09428>
References: <76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="7b91a53a6110375498fdbedfef1121fd";
logging-data="23938"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fLOSO3RAo/zUadhib9eHH"
Cancel-Lock: sha1:3WHWHlWarOQdm67kBNKc+q6bTwk=
 by: Marco Moock - Wed, 1 Jun 2022 11:45 UTC

Am Wed, 1 Jun 2022 04:38:21 -0700 (PDT)
schrieb Hans Conreid <russellbell@gmail.com>:

> When I try to relay an e-mail with sendmail through gmail, beginning
> 2022 June 1, it returns:
>
> 050 535-5.7.8 Username and Password not accepted. Learn more at
> 050 535 5.7.8 https://support.google.com/mail/?p=BadCredentials
> p15-20020a635b0f000000b003fc4894c270sm1081442pgb.69 - gsmtp
>
> The Username and Password are correct: I can log in with them in my
> browser. How do I make this work?

IIRC Google changed the auth for SMTP. You need to specify an app
password in your Google account for SMTP and use that in authinfo.

The reason is that if that password is known to others, they can only
use SMTP and cannot access your entire Google account.

Re: Using sendmail with gmail

<d1af9c82-b8cb-4758-aeb8-2da9e68af9a5n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=460&group=comp.mail.sendmail#460

 copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a05:620a:27cd:b0:6a3:756f:8267 with SMTP id i13-20020a05620a27cd00b006a3756f8267mr34277536qkp.374.1654086324778;
Wed, 01 Jun 2022 05:25:24 -0700 (PDT)
X-Received: by 2002:a0d:d50d:0:b0:30c:942a:58d8 with SMTP id
x13-20020a0dd50d000000b0030c942a58d8mr12044109ywd.160.1654086324599; Wed, 01
Jun 2022 05:25:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Wed, 1 Jun 2022 05:25:24 -0700 (PDT)
In-Reply-To: <20220601134532.1b41909a@M09428>
Injection-Info: google-groups.googlegroups.com; posting-host=172.58.67.2; posting-account=3vyFtAoAAABxg8DYnOUYX9r8SbY3wM29
NNTP-Posting-Host: 172.58.67.2
References: <76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com> <20220601134532.1b41909a@M09428>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d1af9c82-b8cb-4758-aeb8-2da9e68af9a5n@googlegroups.com>
Subject: Re: Using sendmail with gmail
From: russellb...@gmail.com (Hans Conreid)
Injection-Date: Wed, 01 Jun 2022 12:25:24 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1298
 by: Hans Conreid - Wed, 1 Jun 2022 12:25 UTC

To get an app password requires 2-step verification: I'd have to receive an e-mail and enter a key every time I send a message. Can I automate this with sendmail?

Re: Using sendmail with gmail

<20220601202733.608ef3d0@ryz>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=461&group=comp.mail.sendmail#461

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: Using sendmail with gmail
Date: Wed, 1 Jun 2022 20:27:33 +0200
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <20220601202733.608ef3d0@ryz>
References: <76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com>
<20220601134532.1b41909a@M09428>
<d1af9c82-b8cb-4758-aeb8-2da9e68af9a5n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="fac34152ebe1d90e917ac373523d61b5";
logging-data="13139"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/iHSlkW1mtqFU9YhMOBUkQ"
Cancel-Lock: sha1:z/pU6w5QunpNMkGbD4gqCeiarlU=
 by: Marco Moock - Wed, 1 Jun 2022 18:27 UTC

Am Mittwoch, 01. Juni 2022, um 05:25:24 Uhr schrieb Hans Conreid:

> To get an app password requires 2-step verification: I'd have to
> receive an e-mail and enter a key every time I send a message. Can I
> automate this with sendmail?

Is that really the case?
I don't know any way to automate that process.
I also recommend you getting another mail provider, Google will annoy
you more and more in the future with such stuff.

Re: Using sendmail with gmail

<187842c1-8266-4337-bd38-5d24cec1072fn@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=462&group=comp.mail.sendmail#462

 copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a05:6214:181:b0:464:34d5:d8c8 with SMTP id q1-20020a056214018100b0046434d5d8c8mr22419994qvr.87.1654118892362;
Wed, 01 Jun 2022 14:28:12 -0700 (PDT)
X-Received: by 2002:a25:948:0:b0:65c:a68f:1db3 with SMTP id
u8-20020a250948000000b0065ca68f1db3mr1919779ybm.462.1654118892217; Wed, 01
Jun 2022 14:28:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Wed, 1 Jun 2022 14:28:11 -0700 (PDT)
In-Reply-To: <20220601202733.608ef3d0@ryz>
Injection-Info: google-groups.googlegroups.com; posting-host=172.58.67.2; posting-account=3vyFtAoAAABxg8DYnOUYX9r8SbY3wM29
NNTP-Posting-Host: 172.58.67.2
References: <76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com>
<20220601134532.1b41909a@M09428> <d1af9c82-b8cb-4758-aeb8-2da9e68af9a5n@googlegroups.com>
<20220601202733.608ef3d0@ryz>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <187842c1-8266-4337-bd38-5d24cec1072fn@googlegroups.com>
Subject: Re: Using sendmail with gmail
From: russellb...@gmail.com (Hans Conreid)
Injection-Date: Wed, 01 Jun 2022 21:28:12 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1395
 by: Hans Conreid - Wed, 1 Jun 2022 21:28 UTC

So the instructions at gmail tell me. Someone tells me about making msmtp work using oauth2. Is there any plan to make sendmail work with oauth2? What mailer do you recommend?

Re: Using sendmail with gmail

<t79fmj$4l1$1@news.misty.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=463&group=comp.mail.sendmail#463

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Using sendmail with gmail
Date: Thu, 2 Jun 2022 00:52:35 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <t79fmj$4l1$1@news.misty.com>
References: <76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com> <20220601134532.1b41909a@M09428> <d1af9c82-b8cb-4758-aeb8-2da9e68af9a5n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 2 Jun 2022 04:52:35 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="4769"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Thu, 2 Jun 2022 04:52 UTC

Hans Conreid wrote:
> To get an app password requires 2-step verification: I'd have to receive an
> e-mail and enter a key every time I send a message. Can I automate this
> with sendmail?

sendmail uses Cyrus-SASL to implement AUTH.
So you need to check with that software whether the mechanism
is provided: maybe cyrus-sasl-xoauth2 does this?
If so, you have to add that auth plugin and give it a try.

Then look at cf/README:

Providing SMTP AUTH Data when sendmail acts as Client
-----------------------------------------------------
....
or FEATURE(`authinfo') must be used which provides a separate map.

Specify an "socketmap" for this and you can provide any info
via a process which you can write to do whatever you want/need.

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: Using sendmail with gmail

<t79pdh$oks$1@sirius.aeon.icebear.cloud>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=464&group=comp.mail.sendmail#464

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: h_hucke+...@newsmail.aeon.icebear.org (Henning Hucke)
Newsgroups: comp.mail.sendmail
Subject: Re: Using sendmail with gmail
Date: Thu, 2 Jun 2022 07:38:29 -0000 (UTC)
Organization: aeon: think longer than you thought before
Lines: 21
Message-ID: <t79pdh$oks$1@sirius.aeon.icebear.cloud>
References: <76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com>
Reply-To: Henning Hucke <h_hucke+news.reply(trick)@newsmail.aeon.icebear.org>
X-Trace: individual.net qNy95wCzqAjf337TdNzqEQBgh8He6Nc7SW8FM0TfzLcmJRM4zP
X-Orig-Path: news.aeon.icebear.cloud!news1.aeon.icebear.cloud!.POSTED.romulus.aeon.icebear.cloud!not-for-mail
Cancel-Lock: sha1:qkGoQFPuk7NjymhDK+KzYOtTwfY= sha1:RzX1RR9dHY8RwlU3DZuwfKytdAI=
Injection-Date: Thu, 2 Jun 2022 07:38:29 -0000 (UTC)
Injection-Info: sirius.aeon.icebear.cloud; posting-host="romulus.aeon.icebear.cloud:fd09:afca:b044:1:4ecc:6aff:fecf:5c8f";
logging-data="25244"; mail-complaints-to="abuse+news@aeon.icebear.cloud"
User-Agent: tin/2.4.1-20161224 ("Daill") (UNIX) (Linux/4.9.0-15-amd64 (x86_64))
 by: Henning Hucke - Thu, 2 Jun 2022 07:38 UTC

Hans Conreid <russellbell@gmail.com> wrote:

Hello Hans,

> When I try to relay an e-mail with sendmail through gmail, beginning 2022 June 1, it returns:
>
> 050 535-5.7.8 Username and Password not accepted. Learn more at
> 050 535 5.7.8 https://support.google.com/mail/?p=BadCredentials p15-20020a635b0f000000b003fc4894c270sm1081442pgb.69 - gsmtp
>
> The Username and Password are correct: I can log in with them in my browser.
> How do I make this work?

possibly just google this issue and try the first hit:

https://www.google.com/search?q=using+sendmail+with+google+mail&newwindow=1&sxsrf=ALiCzsa9cneVt-uHVAnSG2YzzhzbUkyLCg:1654155385071&source=lnt&tbs=qdr:y&sa=X&ved=2ahUKEwiZloWBoY74AhXLR_EDHeNKD6EQpwV6BAgcEB4&biw=1541&bih=1105&dpr=1

Best regards,
Henning
--
It's from Casablanca. I've been waiting all my life to use that line.
-- Woody Allen, "Play It Again, Sam"

Re: Using sendmail with gmail

<t7apfp$vkd$2@tncsrv09.home.tnetconsulting.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=465&group=comp.mail.sendmail#465

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Using sendmail with gmail
Date: Thu, 2 Jun 2022 10:46:00 -0600
Organization: TNet Consulting
Message-ID: <t7apfp$vkd$2@tncsrv09.home.tnetconsulting.net>
References: <76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com>
<20220601134532.1b41909a@M09428>
<d1af9c82-b8cb-4758-aeb8-2da9e68af9a5n@googlegroups.com>
<t79fmj$4l1$1@news.misty.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 2 Jun 2022 16:45:45 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="32397"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <t79fmj$4l1$1@news.misty.com>
Content-Language: en-US
 by: Grant Taylor - Thu, 2 Jun 2022 16:46 UTC

Hi Claus,

On 6/1/22 10:52 PM, Claus Aßmann wrote:
> sendmail uses Cyrus-SASL to implement AUTH.

Are you saying that Sendmail uses Cyrus-SASL when it's acting as a
sending client talking to another upstream server / MTA / smart host?

I know that Cyrus-SASL was used when sendmail was acting as the
receiving server talking to a down stream client / MUA.

--
Grant. . . .
unix || die

Re: Using sendmail with gmail

<t7aspm$rv2$1@news.misty.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=466&group=comp.mail.sendmail#466

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Using sendmail with gmail
Date: Thu, 2 Jun 2022 13:42:14 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <t7aspm$rv2$1@news.misty.com>
References: <76337dfa-c1b7-434e-a59f-ebd1c371252fn@googlegroups.com> <d1af9c82-b8cb-4758-aeb8-2da9e68af9a5n@googlegroups.com> <t79fmj$4l1$1@news.misty.com> <t7apfp$vkd$2@tncsrv09.home.tnetconsulting.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 2 Jun 2022 17:42:14 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="28642"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Thu, 2 Jun 2022 17:42 UTC

Grant Taylor wrote:

> On 6/1/22 10:52 PM, Claus Aßmann wrote:
> > sendmail uses Cyrus-SASL to implement AUTH.

> Are you saying that Sendmail uses Cyrus-SASL when it's acting as a
> sending client talking to another upstream server / MTA / smart host?

I didn't limit that statement to client or server side...

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor