public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Wolfgang Müller" <wolf@oriole.systems>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Computer system email no not working since gmail change.
Date: Thu, 26 Sep 2024 11:03:08 +0200	[thread overview]
Message-ID: <vidx57mvvadafgi233xusfug3papjiussz6puxc5vy562g4rl3@g3wdlrmiybez> (raw)
In-Reply-To: <ab39f7c5-cb3a-3789-7de4-7bbf69b74852@gmail.com>

On 2024-09-02 21:44, Dale wrote:
> Sep  2 21:23:08 Gentoo-1 smartd[20742]: Executing test of <mail> to root ...
> Sep  2 21:25:25 Gentoo-1 sSMTP[20757]: Unable to connect to
> "smtp.gmail.com" port 587.
> Sep  2 21:25:25 Gentoo-1 sSMTP[20757]: Cannot open smtp.gmail.com:587
> Sep  2 21:25:25 Gentoo-1 smartd[20742]: Test of <mail> to root produced
> unexpected output (65 bytes) to STDOUT/STDERR:
> Sep  2 21:25:25 Gentoo-1 smartd[20742]: mail: cannot send message:
> Process exited with a non-zero status
> Sep  2 21:25:25 Gentoo-1 smartd[20742]: Test of <mail> to root: failed
> (32-bit/8-bit exit status: 256/1)
> Sep  2 21:25:25 Gentoo-1 smartd[20742]: Executing test of <mail> to root ...
> Sep  2 21:27:40 Gentoo-1 sSMTP[20885]: Unable to connect to
> "smtp.gmail.com" port 587.
> Sep  2 21:27:40 Gentoo-1 sSMTP[20885]: Cannot open smtp.gmail.com:587

What's nagging me about this is that there's a 2 minute delay between
smartd executing the test and ssmtp reporting that it can't connect to
smtp.gmail.com. Looks like a timeout to me rather than any issue with
mail. You should at least get an "authentication failed" message back
from Google... or any message at all, really.

Can you check whether you can actually access smtp.gmail.com? Try this:

	ncat smtp.gmail.com 587

Perhaps also set -v on ssmtp to get additional log output.

PS: ssmtp has been unmaintained since at least 2019, consider using
msmtp instead.

-- 
Wolf


      parent reply	other threads:[~2024-09-26  9:03 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-03  2:44 [gentoo-user] Computer system email no not working since gmail change Dale
2024-09-25 20:43 ` Dale
2024-09-26  7:13   ` covici
2024-09-26  7:28     ` Dale
2024-09-26  8:56       ` Michael
2024-09-26 10:44         ` Dale
2024-09-26 11:16           ` Michael
2024-09-26 15:42             ` Dale
2024-09-26 17:54               ` [gentoo-user] " Grant Edwards
2024-09-26 17:58                 ` Grant Edwards
2024-09-26 20:20                 ` Dale
2024-09-26 20:42                   ` Grant Edwards
2024-09-26 21:03                     ` Grant Edwards
2024-09-27  0:19                       ` Dale
2024-09-26 21:11                     ` Dale
2024-09-26 21:22                       ` Grant Edwards
2024-09-27  0:08                         ` Dale
2024-09-27  2:40                           ` Grant Edwards
2024-09-27  4:47                             ` Dale
2024-09-27 13:47                               ` Grant Edwards
2024-09-27 14:11                                 ` Dale
2024-09-27 14:48                                   ` Grant Edwards
2024-09-27 15:33                                     ` Dale
2024-09-27 16:00                                       ` Grant Edwards
2024-09-27 16:28                                         ` Dale
2024-09-27 16:53                                           ` Michael
2024-09-27 10:31                       ` Michael
2024-09-27 12:11                         ` Dale
2024-09-27 13:06                           ` Michael
2024-09-27 14:13                             ` Dale
2024-09-26 12:47           ` Grant Edwards
2024-09-26 15:18             ` Dale
2024-09-26 13:42           ` [gentoo-user] " Frank Steinmetzger
2024-09-27 15:51             ` Dale
2024-09-27 16:49             ` John Blinka
2024-09-26 11:49       ` covici
2024-09-26 12:49         ` [gentoo-user] " Grant Edwards
2024-09-26 16:09   ` [gentoo-user] " Matt Connell
2024-09-27 15:58     ` Dale
2024-09-26  9:03 ` Wolfgang Müller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vidx57mvvadafgi233xusfug3papjiussz6puxc5vy562g4rl3@g3wdlrmiybez \
    --to=wolf@oriole.systems \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox