From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B40A5158083 for ; Thu, 26 Sep 2024 15:42:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C546E2B55; Thu, 26 Sep 2024 15:42:23 +0000 (UTC) Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8053E2B4E for ; Thu, 26 Sep 2024 15:42:22 +0000 (UTC) Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-277f19ee2a2so570974fac.1 for ; Thu, 26 Sep 2024 08:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727365342; x=1727970142; darn=lists.gentoo.org; h=in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:to:subject:from:to:cc:subject:date:message-id:reply-to; bh=4JA1IqV5GqZuCZx3UA/ynQCbzjsLvF8mjtAFhzSzZRo=; b=Q9TWes7MjKOP5ZZzWey65AqwNPgHrZdDdhg7zf71QWl4YC+o5cobUqt9pDH3EsZjDh GC3Sj39/Ki2wGYQRby6ny94v1AVDcYJYOq43Kzieup8SDGOsWDYUtGjM1sfWjBVk2wh1 I0ADsS7IGmUt2yLBTU+QbvjnOk5RKzrsKYSgq9XzCA559juT/Y0Xq6WYZVduK98Io9mm AX8zNBJAYv7wWKqH26Hw8k0rTMq+rhfLUe4h//pDH81paxuiBzFAuE6kuYZLGeY/l56I 1JmIIJSdlZ9WKG7j8/wAisHyxVDnTff+DHVE1swruKEVq8Yqe96GFxOjYR/jxnarO1+h 0tpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727365342; x=1727970142; h=in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:to:subject:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4JA1IqV5GqZuCZx3UA/ynQCbzjsLvF8mjtAFhzSzZRo=; b=dY1Jv+PEuFG0c+7buhXNgF18W6r1LmtK/aWlKMYJwGchq/F6SvuQHfNCLiIUlhaHM4 5wEHWRAzCg/XWbk/xHCWToJU/yRpCt6pzmZqiLyoM+ECy5Q6ZZWJpb+jiOetZEvGZ0VE nip5WKCfiBeTzvUFOYEIXkh8HOiIX7ClqUeZmi8zzGF+iXqkQ4LiudKTQloUH33XF/BJ 5u+yYmQu2BjwkmjwZ6eRtokGeeVyjOuujkcF1SO1419r3adk6etauQnNHIJTXvvXzekM UHXvLzlbURd7iGSIwEkaAr8U+U4skqw1H6ykW1oZRgQn+DKDcFh2VDBSRYa4uEMSHpsZ BUKQ== X-Gm-Message-State: AOJu0Yxqhv5e0arPBFXR1IFXj6B06U6HpBghhcLVNw1sEoVJlCtTuhdC NYY7L3zkymfDnv2kk+SDi3+HTvWru+s3jJGlB194mnaMHlHYsakp X-Google-Smtp-Source: AGHT+IEQULL4LNXZVoDGRDvkdxb3iQkxH90dNMvTc5u4Ss3NIrjCAhKRoFFKrhOjsOQOVxd3ZpNjVw== X-Received: by 2002:a05:6870:d893:b0:277:d3c7:f7a1 with SMTP id 586e51a60fabf-28710bcfd49mr284538fac.33.1727365341806; Thu, 26 Sep 2024 08:42:21 -0700 (PDT) Received: from [10.8.8.3] ([45.203.21.46]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2870f81b022sm45624fac.32.2024.09.26.08.42.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Sep 2024 08:42:21 -0700 (PDT) Subject: Re: [gentoo-user] Computer system email no not working since gmail change. To: gentoo-user@lists.gentoo.org References: <2284374.iZASKD2KPV@rogueboard> <61ae6f8b-c889-5c7d-1e4a-2ab493f9bfb6@gmail.com> <4624142.cEBGB3zze1@rogueboard> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AW IQQSG1h01ruv/WNXc3Q3RqOgiQH1GwUCYVJy8gAKCRA3RqOgiQH1G+waEACeTZCt77jnRAmQ AV7otKuZekDWiLi3Eig8tj5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3f-83ca-722f34dcfd65@gmail.com> Date: Thu, 26 Sep 2024 10:42:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <4624142.cEBGB3zze1@rogueboard> Content-Type: multipart/alternative; boundary="------------E94C00BFCC202D023EAADB88" X-Archives-Salt: 4b560759-0ae2-4579-874a-4941c3affd74 X-Archives-Hash: 5de09fdf2ec47331d1280b11434ed647 This is a multi-part message in MIME format. --------------E94C00BFCC202D023EAADB88 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Michael wrote: > On Thursday 26 September 2024 11:44:08 BST Dale wrote: >> Michael wrote: >>> On Thursday 26 September 2024 08:28:47 BST Dale wrote: >>>> ssmtp stopped working with a conventional password when Google >>>> introduced 2- >>> Step-Verification for their GMail account. Consequently, to be able to >>> continue using ssmtp you need to set up an 'App Password' and use the 16- >>> >>> character password generated by Google to login: >>> https://support.google.com/mail/answer/185833 >>> >>> It used to be the case you could set up an 'App Password' without having >>> to >>> provide them with your phone number and other 'none-of-their-business' >>> personal information, but for some years now they have been asking for >>> more >>> information to allow you to complete setting up 'App Password' for your >>> Google account(s) and device(s). >> I also tried the 16 character password method too. It still didn't work. > In this case the ssmtp package has outlived its usefulness. It was always > limited in what characters it would accept and parse as a password. It's > abandonware since 2019 - debian recommends to use msmtp: > > https://wiki.debian.org/sSMTP 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 to root ... Sep 26 10:05:40 Gentoo-1 msmtp[30861]: host=smtp.gmail.com tls=on auth=off from=rdalek1967gmail.com recipients=root errormsg='cannot connect to smtp.gmail.com, port 587: Connection timed out' exitcode=EX_TEMPFAIL Sep 26 10:05:40 Gentoo-1 smartd[27073]: Test of to root produced unexpected output (65 bytes) to STDOUT/STDERR: Sep 26 10:05:40 Gentoo-1 smartd[27073]: mail: cannot send message: Process exited with a non-zero status Sep 26 10:05:40 Gentoo-1 smartd[27073]: Test of to root: failed (32-bit/8-bit exit status: 256/1) Config file: account default # The SMTP smarthost #host mail.oursite.example host smtp.gmail.com # Use TLS on port 465. On this port, TLS starts without STARTTLS. #port 465 port 587 tls on # tls_starttls off tls_starttls on #password sorry password sorry # Construct envelope-from addresses of the form "user@oursite.example" #from %U@oursite.example from rdalek1967gmail.com # Do not allow programs to override this envelope-from address via -f allow_from_override off # Always set a From header that matches the envelope-from address set_from_header on # Syslog logging with facility LOG_MAIL instead of the default LOG_USER syslog LOG_MAIL What did I do wrong?  ;-) Dale :-)  :-)  --------------E94C00BFCC202D023EAADB88 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Michael wrote:
On Thursday 26 September 2024 11:44:08 BST Dale wrote:
Michael wrote:
On Thursday 26 September 2024 08:28:47 BST Dale wrote:
ssmtp stopped working with a conventional password when Google
introduced 2-
Step-Verification for their GMail account.  Consequently, to be able to
continue using ssmtp you need to set up an 'App Password' and use the 16-

character password generated by Google to login:
 https://support.google.com/mail/answer/185833

It used to be the case you could set up an 'App Password' without having
to
provide them with your phone number and other 'none-of-their-business'
personal information, but for some years now they have been asking for
more
information to allow you to complete setting up 'App Password' for your
Google account(s) and device(s).
I also tried the 16 character password method too.  It still didn't work. 
In this case the ssmtp package has outlived its usefulness.  It was always 
limited in what characters it would accept and parse as a password.  It's 
abandonware since 2019 - debian recommends to use msmtp:

https://wiki.debian.org/sSMTP


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
Sep 26 10:05:40 Gentoo-1 smartd[27073]: Test of <mail> to root produced unexpected output (65 bytes) to STDOUT/STDERR:
Sep 26 10:05:40 Gentoo-1 smartd[27073]: mail: cannot send message: Process exited with a non-zero status
Sep 26 10:05:40 Gentoo-1 smartd[27073]: Test of <mail> to root: failed (32-bit/8-bit exit status: 256/1)


Config file:


account default

# The SMTP smarthost
#host mail.oursite.example
host smtp.gmail.com
# Use TLS on port 465. On this port, TLS starts without STARTTLS.
#port 465
port 587
tls on
# tls_starttls off
tls_starttls on
#password sorry
password sorry
# Construct envelope-from addresses of the form "user@oursite.example"
#from %U@oursite.example
from rdalek1967<at>gmail.com
# Do not allow programs to override this envelope-from address via -f
allow_from_override off
# Always set a From header that matches the envelope-from address
set_from_header on

# Syslog logging with facility LOG_MAIL instead of the default LOG_USER
syslog LOG_MAIL


What did I do wrong?  ;-)

Dale

:-)  :-) 
--------------E94C00BFCC202D023EAADB88--