public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Computer system email no not working since gmail change.
Date: Thu, 26 Sep 2024 17:54:51 -0000 (UTC)	[thread overview]
Message-ID: <vd475b$4l2$1@ciao.gmane.io> (raw)
In-Reply-To: 7f24b60f-b7bd-1a3f-83ca-722f34dcfd65@gmail.com

On 2024-09-26, Dale <rdalek1967@gmail.com> wrote:

> I removed ssmtp and installed msmtp. I think I got the config set up
> but it is different so I may not have it right. It doesn't work tho.
> From messages.
>
>
> Sep 26 10:03:33 Gentoo-1 smartd[27728]: Executing test of <mail> to root ...
> Sep 26 10:05:40 Gentoo-1 msmtp[30861]: host=smtp.gmail.com tls=on
> auth=off from=rdalek1967<at>gmail.com recipients=root errormsg='cannot
> connect to smtp.gmail.com, port 587: Connection timed out'
> exitcode=EX_TEMPFAIL

It looks like your network is broken. Try this:

    $ telnet smtp.gmail.com 587
    Trying 209.85.145.109...
    Connected to smtp.gmail.com.
    Escape character is '^]'.
    220 smtp.gmail.com ESMTP 8926c6da1cb9f-4d888860978sm58959173.69 - gsmtp

Note: Port 587 is for plaintext connection and then shifting into TLS
mode with the starttls command.  When configuring msmtp:

    port 587
    tls on
    tls-starttls on
or
    port 465
    tls on
    tls-starttls off

Port 465 starts using TLS immediately

    $ openssl s_client -connect smtp.gmail.com:465
    CONNECTED(00000003)
    depth=2 C = US, O = Google Trust Services LLC, CN = GTS Root R1
    verify return:1
    depth=1 C = US, O = Google Trust Services, CN = WR2
    verify return:1
    depth=0 CN = smtp.gmail.com
    verify return:1
    ---
    Certificate chain
     0 s:CN = smtp.gmail.com
       i:C = US, O = Google Trust Services, CN = WR2
       a:PKEY: id-ecPublicKey, 256 (bit); sigalg: RSA-SHA256
       v:NotBefore: Aug 26 07:12:09 2024 GMT; NotAfter: Nov 18 07:12:08 2024 GMT
    [...]       
    ---
    read R BLOCK
    220 smtp.gmail.com ESMTP e9e14a558f8ab-3a344d9250esm496675ab.41 - gsmtp
    
    



  reply	other threads:[~2024-09-26 17:55 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               ` Grant Edwards [this message]
2024-09-26 17:58                 ` [gentoo-user] " 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

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='vd475b$4l2$1@ciao.gmane.io' \
    --to=grant.b.edwards@gmail.com \
    --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