Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.raspberry-pi > #21282 > unrolled thread
| Started by | MArtin <nell.gwyne@voidblueyonder.co.uk> |
|---|---|
| First post | 2019-10-17 23:19 +0100 |
| Last post | 2019-10-19 09:38 +0100 |
| Articles | 14 on this page of 34 — 12 participants |
Back to article view | Back to comp.sys.raspberry-pi
Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-17 23:19 +0100
Re: Pi, exim4 and google smtp Roger Bell_West <roger+csrp201910@nospam.firedrake.org> - 2019-10-17 23:20 +0000
Re: Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-18 23:37 +0100
Re: Pi, exim4 and google smtp Robert Riches <spamtrap42@jacob21819.net> - 2019-10-19 00:25 +0000
Re: Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-19 12:14 +0100
Re: Pi, exim4 and google smtp The Natural Philosopher <tnp@invalid.invalid> - 2019-10-19 16:28 +0100
Re: Pi, exim4 and google smtp Mike Easter <MikeE@ster.invalid> - 2019-10-19 15:43 -0700
Re: Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-20 20:00 +0100
Re: Pi, exim4 and google smtp Mike Easter <MikeE@ster.invalid> - 2019-10-21 11:44 -0700
Re: Pi, exim4 and google smtp Mike Easter <MikeE@ster.invalid> - 2019-10-21 11:58 -0700
Re: Pi, exim4 and google smtp Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-22 09:31 -0600
Re: Pi, exim4 and google smtp The Natural Philosopher <tnp@invalid.invalid> - 2019-10-19 08:09 +0100
Re: Pi, exim4 and google smtp Richard Kettlewell <invalid@invalid.invalid> - 2019-10-18 10:03 +0100
Re: Pi, exim4 and google smtp Richard Kettlewell <invalid@invalid.invalid> - 2019-10-18 10:11 +0100
Re: Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-20 21:23 +0100
Re: Pi, exim4 and google smtp Roger Bell_West <roger+csrp201910@nospam.firedrake.org> - 2019-10-18 10:24 +0000
Re: Pi, exim4 and google smtp Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-10-18 21:10 +0300
Re: Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-18 23:43 +0100
Re: Pi, exim4 and google smtp Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-10-19 12:43 -0400
Re: Pi, exim4 and google smtp Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-10-19 15:38 -0400
Re: Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-20 21:30 +0100
Re: Pi, exim4 and google smtp The Natural Philosopher <tnp@invalid.invalid> - 2019-10-19 08:06 +0100
Re: Pi, exim4 and google smtp Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-10-19 12:26 +0300
Re: Pi, exim4 and google smtp Axel Berger <Spam@Berger-Odenthal.De> - 2019-10-19 12:11 +0200
Re: Pi, exim4 and google smtp The Natural Philosopher <tnp@invalid.invalid> - 2019-10-19 11:47 +0100
Re: Pi, exim4 and google smtp Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-10-18 10:53 -0400
Re: Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-18 23:33 +0100
Re: Pi, exim4 and google smtp Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-10-19 13:49 -0400
Re: Pi, exim4 and google smtp Adrian Caspersz <email@here.invalid> - 2019-10-20 09:40 +0100
Re: Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-20 21:36 +0100
Re: Pi, exim4 and google smtp Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2019-10-20 19:37 -0400
Re: Pi, exim4 and google smtp Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2019-10-18 10:05 -0500
Re: Pi, exim4 and google smtp Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-18 22:57 -0600
Re: Pi, exim4 and google smtp MArtin <nell.gwyne@voidblueyonder.co.uk> - 2019-10-19 09:38 +0100
Page 2 of 2 — ← Prev page 1 [2]
| From | MArtin <nell.gwyne@voidblueyonder.co.uk> |
|---|---|
| Date | 2019-10-20 21:30 +0100 |
| Message-ID | <nmgpqet6lgdr7egath0fkh4nrqvo9fg4k2@4ax.com> |
| In reply to | #21312 |
On Sat, 19 Oct 2019 12:43:00 -0400, Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote: >On Fri, 18 Oct 2019 23:43:41 +0100, MArtin ><nell.gwyne@voidblueyonder.co.uk> declaimed the following: > >> >>I can send happily from gmail web mail to my isp account. which >>removed my worries about the password having changed or a blocklist >>against the isp or my receving address being the issue. It sems it is >>specifically the exim config which is no longer compatible with >>google. >> > > Meaningless... The first is using a gmail web page (a gmail controlled >client application) that runs ON a gmail server sending to your ISP server. >This tests nothing with regards to having a non-gmail client (exim on the >R-Pi) sending via the gmail server. > Only partially agree - it doesn't check anything on exim or the pi connectivity but it did show to me that i wasn't having a username / password moment of stupidity either self caused or google caused. The pi configuration was working and had been working for over a year. It suddenly stopped so a password having been changed or expired was an obvious first possibility i tried. MArtin
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2019-10-19 08:06 +0100 |
| Message-ID | <qoecmf$bf7$1@dont-email.me> |
| In reply to | #21294 |
On 18/10/2019 19:10, Tauno Voipio wrote:
> On 18.10.19 13:24, Roger Bell_West wrote:
>> On 2019-10-18, Richard Kettlewell wrote:
>>> Can you see what happens in the SMTP connection? At the least you need
>>> to establish whether Exim is attempting to authenticate and failing, or
>>> not even trying.
>>
>> FWIW I've seen perfectly standard email to gmail.com addresses
>> rejected with this specific error in the last few weeks. It's just
>> gmail being big enough not to have to care.
>
>
> Gmail is using a black hole list, maybe RBL. If your ISP's
> sending MTA gets on the list, your mail will be delayed or
> rejected.
>
> Been there, maybe even now.
>
Its worse than that.
I needed to fake an email fr a friuend who was sitting beside me ta the
time. To send off a large dicument I had hlepned him preprae.
No problem I thought, I can fake his BT email account and send it
through my own SMTP relay.
No chnace. the target systenm rejected it in te grounds that BT email
doesnt get sent from random relays on the internet.
When I used his own domain however it worked perfectly.
The point is that it is now almost unacceptable to use your ISPs SMTP relay.
You have to send via your mail persons SMTP relay.
Last year, visiting my sister in Germany, I could not even connect to a
third party port 25 without adding a whitelist to the ROUTER.
Before the commercialisation of the Internet, there was no point in
sending random emails to people you didn't know.
Apart from malware, I wonder how many people, like me, simply refuse to
buy anything they have seen advertised on the internet or on TV?
Is there any point in SPAM?
I only have one charity apart from poppy day, that I ever give serious
money to. I bought a charity produt online
Every week since then I was emailed junk promotion for more charity
products. Clicking unsubscribe made no difference. I blacklisted the
domain. I will never contribute to that charity again.
--
"Strange as it seems, no amount of learning can cure stupidity, and
higher education positively fortifies it."
- Stephen Vizinczey
[toc] | [prev] | [next] | [standalone]
| From | Tauno Voipio <tauno.voipio@notused.fi.invalid> |
|---|---|
| Date | 2019-10-19 12:26 +0300 |
| Message-ID | <qoeksh$iod$1@dont-email.me> |
| In reply to | #21303 |
On 19.10.19 10:06, The Natural Philosopher wrote: > On 18/10/2019 19:10, Tauno Voipio wrote: >> On 18.10.19 13:24, Roger Bell_West wrote: >>> On 2019-10-18, Richard Kettlewell wrote: >>>> Can you see what happens in the SMTP connection? At the least you need >>>> to establish whether Exim is attempting to authenticate and failing, or >>>> not even trying. >>> >>> FWIW I've seen perfectly standard email to gmail.com addresses >>> rejected with this specific error in the last few weeks. It's just >>> gmail being big enough not to have to care. >> >> >> Gmail is using a black hole list, maybe RBL. If your ISP's >> sending MTA gets on the list, your mail will be delayed or >> rejected. >> >> Been there, maybe even now. >> > Its worse than that. > > I needed to fake an email fr a friuend who was sitting beside me ta the > time. To send off a large dicument I had hlepned him preprae. > > No problem I thought, I can fake his BT email account and send it > through my own SMTP relay. > > No chnace. the target systenm rejected it in te grounds that BT email > doesnt get sent from random relays on the internet. This is just the reason why the ISP mail agent is so important. IIRC, there is an EU recommendation that consumer accounts should be allowed to send email via licensed ISP servers only. This at least makes it more difficult to fake emails (which we have far too much of in the current Net). -- -TV
[toc] | [prev] | [next] | [standalone]
| From | Axel Berger <Spam@Berger-Odenthal.De> |
|---|---|
| Date | 2019-10-19 12:11 +0200 |
| Message-ID | <5DAAE15F.38A47E6B@Berger-Odenthal.De> |
| In reply to | #21307 |
Tauno Voipio wrote: > This is just the reason why the ISP mail agent is so important. Sending mail is extremely easy through a PHP script running on the same server your mail provider is hosted on, e.g. in a contact form. If you make a machine accessible PHP instead of one for humans to fill in, it should be easy to access that from your PI. -- /¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067 \ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069 X in | D-50829 Köln-Ossendorf http://berger-odenthal.de / \ Mail | -- No unannounced, large, binary attachments, please! --
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2019-10-19 11:47 +0100 |
| Message-ID | <qoepjf$acf$2@dont-email.me> |
| In reply to | #21307 |
On 19/10/2019 10:26, Tauno Voipio wrote: > This is just the reason why the ISP mail agent is so important. > IIRC, there is an EU recommendation that consumer accounts should > be allowed to send email via licensed ISP servers only. > > This at least makes it more difficult to fake emails (which we > have far too much of in the current Net). And makes it far easier to enforce the ability of government organisations to read them. -- There is something fascinating about science. One gets such wholesale returns of conjecture out of such a trifling investment of fact. Mark Twain
[toc] | [prev] | [next] | [standalone]
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2019-10-18 10:53 -0400 |
| Message-ID | <uqjjqedbqm8uk59ej4frihn4mhfksgmjq2@4ax.com> |
| In reply to | #21282 |
On Thu, 17 Oct 2019 23:19:32 +0100, MArtin <nell.gwyne@voidblueyonder.co.uk> declaimed the following: >Does anyone have any ideas on what google have changed and how to fix >it? The web page referenced didn't seem to be relevant leastways it >didn't help me and I can still log into the gmail account on a >different machine with the credentials in the exim4 configuration. Using what /software/? The account/password may not be the problem, rather features of the client doing the connection. Presuming it is not a matter of not having the current gmail SSL key chain (I'd hope exim, et al have been patched to handle the security keys now in use -- that's the biggest problem with using Eudora on gmail; Eudora's key store doesn't recognize newer security chains), then the most likely aspect is that gmail considers exim (or your host) as an untrusted client. For that, have you tried the information provided via that link? """ Allow less secure apps: If you don't use 2-Step Verification, you might need to allow less secure apps to access your account. """ That is a setting you have to make via the web interface to gmail. >Otherwise are their any suggestions on another free account I can get >to send smtp headless from the pi instead of using google. > Typically, for sending, one should first try using the SMTP provided by one's own ISP, even if the "account" of the email is not with that ISP. The client is configured to login in using the ISP credentials, but then sends the email using headers of the foreign account. (in old Eudora, this was a "relay host" -- you define one connection as the relay, and set a flag on other accounts telling them to send using the relay host instead of making a direct connection). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
[toc] | [prev] | [next] | [standalone]
| From | MArtin <nell.gwyne@voidblueyonder.co.uk> |
|---|---|
| Date | 2019-10-18 23:33 +0100 |
| Message-ID | <5tekqeh4ebg7c0jvpt6t178pmla2n7v6i8@4ax.com> |
| In reply to | #21291 |
On Fri, 18 Oct 2019 10:53:52 -0400, Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote: >On Thu, 17 Oct 2019 23:19:32 +0100, MArtin ><nell.gwyne@voidblueyonder.co.uk> declaimed the following: > > >>Does anyone have any ideas on what google have changed and how to fix >>it? The web page referenced didn't seem to be relevant leastways it >>didn't help me and I can still log into the gmail account on a >>different machine with the credentials in the exim4 configuration. > > Using what /software/? The account/password may not be the problem, >rather features of the client doing the connection. logging in via web mail just to make sure the password hadn't been changed by outside agency. > Presuming it is not a matter of not having the current gmail SSL key >chain (I'd hope exim, et al have been patched to handle the security keys >now in use -- that's the biggest problem with using Eudora on gmail; >Eudora's key store doesn't recognize newer security chains), then the most >likely aspect is that gmail considers exim (or your host) as an untrusted >client. It suddenly stopped working in the last couple of days. I'verun an update upgrade cycle on the pi but while it found things to update it made no difference to this issue. > For that, have you tried the information provided via that link? >""" >Allow less secure apps: If you don't use 2-Step Verification, you might >need to allow less secure apps to access your account. That was already set, it had to be to work originally. Checking showed it as still set. >That is a setting you have to make via the web interface to gmail. > >>Otherwise are their any suggestions on another free account I can get >>to send smtp headless from the pi instead of using google. >> > > Typically, for sending, one should first try using the SMTP provided by >one's own ISP, even if the "account" of the email is not with that ISP. Yes, I tried that originally before using Google, and have spent today trying again, unfortunately it seems my ISP while supporting smtp isn't compatible with exim. I couldn't persuade it to work and gave up and used google and still cant - looking at their support forums it seems a selection of other people cant get the isp smtp to work with with a selection of clients either. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
[toc] | [prev] | [next] | [standalone]
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2019-10-19 13:49 -0400 |
| Message-ID | <ldfmqehvpo97je5ldbn2eva3p9nus4hvi7@4ax.com> |
| In reply to | #21295 |
On Fri, 18 Oct 2019 23:33:59 +0100, MArtin
<nell.gwyne@voidblueyonder.co.uk> declaimed the following:
>Yes, I tried that originally before using Google, and have spent today
>trying again, unfortunately it seems my ISP while supporting smtp
>isn't compatible with exim. I couldn't persuade it to work and gave up
>and used google and still cant - looking at their support forums it
>seems a selection of other people cant get the isp smtp to work with
>with a selection of clients either.
>
Many ISPs block use of port 25 -- one should use either 587
("submission port") or an alternate/TLS port (not sure what number that is;
google indicates blueyonder uses the obsolete port 465)
A five year old article
https://www.vultr.com/docs/setup-exim-to-send-email-using-gmail-in-debian
(may only verify what you've tried -- I don't know how your configuration
has been set-up). (Also
https://www.pontikis.net/blog/gmail-smarthost-exim4-debian )
Possibly of note -- from your original post
>A=plain C="250 2.0.0 OK 1571140782 a10sm21277754wrm.52 - gsmtp"
>
Your last success used "plain" protocol for authentication... I haven't
been able to find anything defining what gmail really wants these days. The
server itself doesn't list it...
220 smtp.gmail.com ESMTP j31sm2563838ota.13 - gsmtp EHLO gmail.com
250-smtp.gmail.com at your service, [2600:1700:e630:890:c932:bd85:577:9922]
250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES
250-PIPELINING 250-CHUNKING 250 SMTPUTF8
(No AUTH protocol list)
>pipelined MAIL FROM:<YYYYYYYY@gmail.com> SIZE=1568: 530-5.5.1
>Authentication Required. Learn more at\n530 5.5.1
And this just says it doesn't like whatever authentication was
attempted.
Perhaps undoing the unsecure apps and setting up app-specific passwords
as per
https://www.lifewire.com/unlock-gmail-for-a-new-email-program-or-service-1171974
Unfortunately, we are at the stage where I'd have to install exim on my
web-server R-Pi to diagnose any further.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
[toc] | [prev] | [next] | [standalone]
| From | Adrian Caspersz <email@here.invalid> |
|---|---|
| Date | 2019-10-20 09:40 +0100 |
| Message-ID | <h12kruF1th4U1@mid.individual.net> |
| In reply to | #21313 |
On 19/10/2019 18:49, Dennis Lee Bieber wrote: > And this just says it doesn't like whatever authentication was > attempted. > > Perhaps undoing the unsecure apps and setting up app-specific passwords > as per > https://www.lifewire.com/unlock-gmail-for-a-new-email-program-or-service-1171974 > Make sure the app specific passwords are set. These are random-like strings that gmail generates for you to enter in your "device=pi" password setup - it's not your own choice of password letters/chars. FWIW, I used to use exim4 some time ago, which worked fine (however the following writeup will have changed now) http://www.manu-j.com/blog/wordpress-exim4-ubuntu-gmail-smtp/75/ Currently I do this with postfix, works perfectly on a headless pi https://linuxscriptshub.com/configure-smtp-with-gmail-using-postfix/ -- Adrian C
[toc] | [prev] | [next] | [standalone]
| From | MArtin <nell.gwyne@voidblueyonder.co.uk> |
|---|---|
| Date | 2019-10-20 21:36 +0100 |
| Message-ID | <63hpqe9dmsh2ds95kj882nvsru1ouoc55d@4ax.com> |
| In reply to | #21313 |
On Sat, 19 Oct 2019 13:49:26 -0400, Dennis Lee Bieber
<wlfraed@ix.netcom.com> wrote:
<snip>
>
>220 smtp.gmail.com ESMTP j31sm2563838ota.13 - gsmtp EHLO gmail.com
>250-smtp.gmail.com at your service, [2600:1700:e630:890:c932:bd85:577:9922]
>250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES
>250-PIPELINING 250-CHUNKING 250 SMTPUTF8
>
>(No AUTH protocol list)
>
<snip>
gmail only lists the auth after it has switched to TLS so I am seeing
SMTP>> EHLO PI09
SMTP<< 250-smtp.gmail.com at your service, [92.236.40.214]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
SMTP>> STARTTLS
SMTP<< 220 2.0.0 Ready to start TLS
SMTP>> EHLO PI09
SMTP<< 250-smtp.gmail.com at your service, [92.236.40.214]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER
XOAUTH
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
it is then not accepting the username and password. which used to be
valid and are still valid when i log in to google directly.
pub time - t won't look better after a pint but it will wait until
next week.
MArtin
[toc] | [prev] | [next] | [standalone]
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2019-10-20 19:37 -0400 |
| Message-ID | <60rpqeh7b42o722vrtbje3f8udvc1hgfbb@4ax.com> |
| In reply to | #21323 |
On Sun, 20 Oct 2019 21:36:49 +0100, MArtin <nell.gwyne@voidblueyonder.co.uk> declaimed the following: > 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER >XOAUTH > >it is then not accepting the username and password. which used to be >valid and are still valid when i log in to google directly. > I still don't believe that direct Google log-in success means much -- other than to verify you do have a valid account. What character encoding is being used by the direct log-in vs that being used by exim4? If your password has some special characters that have different values in different encodings then the password could be seen as different on the server end. Does the password only use characters in the 7-bit ASCII set? (That should be safe for ASCII, ISO-Latin-1, and UTF8 encodings). Unfortunately, I suspect having those items sent after the STARTTLS command means WireShark won't capture legible packets, and sense each session should have negotiated a different key-pair you can't rely upon matching up packets between sessions. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
[toc] | [prev] | [next] | [standalone]
| From | Knute Johnson <nospam@rabbitbrush.frazmtn.com> |
|---|---|
| Date | 2019-10-18 10:05 -0500 |
| Message-ID | <qockbi$h0a$1@dont-email.me> |
| In reply to | #21282 |
It's a gmail issue and I don't think there is any fix for it. You pretty much can't use gmail as a smarthost anymore. We've been doing the same thing for years but are having to come up with another solution now. All the email providers want you to use their application or use two step authentication and I don't think it is going to go away ever. On 10/17/2019 17:19, MArtin wrote: > My headless pi has been sending emails to my normal account from it > and its companion headless pi for well over a year. They are only > occasional status, temperature warning and the like so should be well > under any number or rate limits. With no configuration changes here or > changes by me to the gmail account it has suddenly stopped working. A > look at the exim4 log shows the last successful email as: > > 2019-10-15 12:59:41 1iKLUK-0008Vq-B4 <= nagios@PI05 H=icinga (PI05) > [172.18.20.35] P=smtp S=640 > 2019-10-15 12:59:42 1iKLUK-0008Vq-B4 => XXXXXXXX.co.uk > <root@localhost> R=smarthost T=remote_smtp_smarthost > H=gmail-smtp-msa.l.google.com [74.125.133.109] > X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=no > DN="C=US,ST=California,L=Mountain View,O=Google LLC,CN=smtp.gmail.com" > A=plain C="250 2.0.0 OK 1571140782 a10sm21277754wrm.52 - gsmtp" > 2019-10-15 12:59:42 1iKLUK-0008Vq-B4 Completed > > and the first unsuccessful email as: > > 2019-10-16 05:15:03 1iKaiE-0001MQ-PH <= nagios@PI05 H=icinga (PI05) > [172.18.20.35] P=smtp S=529 > 2019-10-16 05:15:04 1iKaiE-0001MQ-PH ** XXXXXXXX.co.uk > <root@localhost> R=smarthost T=remote_smtp_smarthost H=smtp.gmail.com > [173.194.76.108] X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=yes > DN="C=US,ST=California,L=Mountain View,O=Google > LLC,CN=smtp.gmail.com": SMTP error from remote mail server after > pipelined MAIL FROM:<YYYYYYYY@gmail.com> SIZE=1568: 530-5.5.1 > Authentication Required. Learn more at\n530 5.5.1 > https://support.google.com/mail/?p=WantAuthError r3sm15957872wre.29 - > gsmtp > > Does anyone have any ideas on what google have changed and how to fix > it? The web page referenced didn't seem to be relevant leastways it > didn't help me and I can still log into the gmail account on a > different machine with the credentials in the exim4 configuration. > Otherwise are their any suggestions on another free account I can get > to send smtp headless from the pi instead of using google. > > Any help gratefully received > thanks > MArtin > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > -- Knute Johnson
[toc] | [prev] | [next] | [standalone]
| From | Grant Taylor <gtaylor@tnetconsulting.net> |
|---|---|
| Date | 2019-10-18 22:57 -0600 |
| Message-ID | <qoe54a$fu5$1@tncsrv09.home.tnetconsulting.net> |
| In reply to | #21282 |
On 10/17/19 4:19 PM, MArtin wrote: > 2019-10-15 12:59:41 1iKLUK-0008Vq-B4 <= nagios@PI05 H=icinga (PI05) > [172.18.20.35] P=smtp S=640 > 2019-10-15 12:59:42 1iKLUK-0008Vq-B4 => XXXXXXXX.co.uk > <root@localhost> R=smarthost T=remote_smtp_smarthost > H=gmail-smtp-msa.l.google.com [74.125.133.109] > X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=no > DN="C=US,ST=California,L=Mountain View,O=Google LLC,CN=smtp.gmail.com" > A=plain C="250 2.0.0 OK 1571140782 a10sm21277754wrm.52 - gsmtp" > 2019-10-15 12:59:42 1iKLUK-0008Vq-B4 Completed > > and the first unsuccessful email as: > > 2019-10-16 05:15:03 1iKaiE-0001MQ-PH <= nagios@PI05 H=icinga (PI05) > [172.18.20.35] P=smtp S=529 > 2019-10-16 05:15:04 1iKaiE-0001MQ-PH ** XXXXXXXX.co.uk > <root@localhost> R=smarthost T=remote_smtp_smarthost H=smtp.gmail.com > [173.194.76.108] X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=yes > DN="C=US,ST=California,L=Mountain View,O=Google > LLC,CN=smtp.gmail.com": SMTP error from remote mail server after > pipelined MAIL FROM:<YYYYYYYY@gmail.com> SIZE=1568: 530-5.5.1 > Authentication Required. Learn more at\n530 5.5.1 > https://support.google.com/mail/?p=WantAuthError r3sm15957872wre.29 - > gsmtp These two logs are non-trivially different to me. Let's break them down to what's different (that I think matters). A) H=gmail-smtp-msa.l.google.com [74.125.133.109] CV=no A=plain C="250 2.0.0 OK 1571140782 a10sm21277754wrm.52 - gsmtp" B) H=smtp.gmail.com [173.194.76.108] CV=yes: SMTP error from remote mail server after pipelined MAIL FROM:<YYYYYYYY@gmail.com> SIZE=1568: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 https://support.google.com/mail/?p=WantAuthError r3sm15957872wre.29 - gsmtp 1) H is different. I would expect them to be the same. 2) CV is different. I'm not familiar with exim and can't speak to it. 3) The first log entry looks like it's using "PLAIN" SMTP Authentication. I don't see similar in the second log entry. 4) The second log entry seems to be complaining about the lack of authentication, possibly point #3 above. I hope that point #4 is talking about point #3. Given that it looks like you're using IPv4 and not IPv6, you are likely not running into more stringent requirements that Google enforces on IPv6. > Does anyone have any ideas on what google have changed and how to fix > it? My first guess is that something happened and your client is not trying to use SMTP Authentication any more. I have no idea why. > Any help gratefully received I don't know if that helps or not. Hopefully it gives you something to look at. For what it's worth, I successfully send email to Google / Gmail daily from my VPS. So it is possible to successfully get email into Google, even as a small email operator. -- Grant. . . . unix || die
[toc] | [prev] | [next] | [standalone]
| From | MArtin <nell.gwyne@voidblueyonder.co.uk> |
|---|---|
| Date | 2019-10-19 09:38 +0100 |
| Message-ID | <8jglqe5lg2i2od0gukpr1plq8k7v650og5@4ax.com> |
| In reply to | #21301 |
On Fri, 18 Oct 2019 22:57:22 -0600, Grant Taylor <gtaylor@tnetconsulting.net> wrote: <snip> >These two logs are non-trivially different to me. Let's break them down >to what's different (that I think matters). > >A) >H=gmail-smtp-msa.l.google.com [74.125.133.109] >CV=no >A=plain >C="250 2.0.0 OK 1571140782 a10sm21277754wrm.52 - gsmtp" > >B) >H=smtp.gmail.com [173.194.76.108] >CV=yes: SMTP error from remote mail server after pipelined MAIL >FROM:<YYYYYYYY@gmail.com> SIZE=1568: 530-5.5.1 Authentication Required. >Learn more at 530 5.5.1 https://support.google.com/mail/?p=WantAuthError >r3sm15957872wre.29 - gsmtp > >1) H is different. I would expect them to be the same. That seems to be to do with googles response to: host smtp.gmail.com which used to give a set of gmail-smtp-msa.N.google.com has address x.x.x.x responses where N went from 1 to 4 and now gives smtp.gmail.com has address 173.194.76.108 smtp.gmail.com has IPv6 address 2a00:1450:400c:c00::6d I don't know whether it used to have ipv6 results because I don't have ipv6 connectivity so would have ignored it. >2) CV is different. I'm not familiar with exim and can't speak to it. that seems to be certificate verification result though what certificate and where it is I am not sure >3) The first log entry looks like it's using "PLAIN" SMTP >Authentication. I don't see similar in the second log entry. I think that is because the connection has failed so the error is logged instead of the connection used >4) The second log entry seems to be complaining about the lack of >authentication, possibly point #3 above. > >I hope that point #4 is talking about point #3. Given that it looks >like you're using IPv4 and not IPv6, you are likely not running into >more stringent requirements that Google enforces on IPv6. > >> Does anyone have any ideas on what google have changed and how to fix >> it? > >My first guess is that something happened and your client is not trying >to use SMTP Authentication any more. I have no idea why. or possibly google is now requiring more / different authentication that i don't have >I don't know if that helps or not. Hopefully it gives you something to >look at. thanks for the thoughts - i am no further forward but have a slightly better view on the log entries > >For what it's worth, I successfully send email to Google / Gmail daily >from my VPS. So it is possible to successfully get email into Google, >even as a small email operator. I would have claimed similar a week ago! --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.sys.raspberry-pi
csiph-web