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 D7BD5158083 for ; Thu, 26 Sep 2024 09:03:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABA432BC043; Thu, 26 Sep 2024 09:03:12 +0000 (UTC) Received: from coleridge.oriole.systems (coleridge.oriole.systems [89.238.76.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 48D822BC023 for ; Thu, 26 Sep 2024 09:03:12 +0000 (UTC) Date: Thu, 26 Sep 2024 11:03:08 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oriole.systems; s=canary-202303; t=1727341390; bh=i1hq9bLAhllXKJPaC9ogP11MApgmG1o7aZy3TegZd9E=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To:From:Sender: Reply-To:Subject:Date:Message-Id:To:Cc:Mime-Version:Content-Type: Content-Transfer-Encoding:In-Reply-To:References; b=Mgew2Ta/CjVAWXB7XqR2qJN4a68nhfHyAHx+LdDU0TiYhiy+IwVrtF4JIOu4aoeZn oki8XNnZ+qdSm66/wjpSdpm2KXX8Ek279HSmCvA0A70h3pvdzAIiVtiZS+v4EKI85J chlHaqJ1EH5HmF+ZV1b0mLugmcB/7hfnDTGYPzWOxtH0i1ndxl/GAZvaVWjUowyYP2 z37UbqHbEX5S4gY615WiXrv02DS3ylPNOGCwIJty3gmtIJ5VSaPZjAWKwfBl30m412 UQ+7as6gf/kAQXKUSWl4sSV8KEVgUJBWBY5YaydV7q7Efak36fCx0cMNs7Dfz82KBJ i1WCXScJK/1Yw== From: Wolfgang =?utf-8?Q?M=C3=BCller?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Computer system email no not working since gmail change. Message-ID: Mail-Followup-To: gentoo-user@lists.gentoo.org References: 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Archives-Salt: 3f4b87fa-0d61-4888-a979-2847e17665f4 X-Archives-Hash: 7d9885355190b4362bd330189c1445b5 On 2024-09-02 21:44, Dale wrote: > Sep  2 21:23:08 Gentoo-1 smartd[20742]: Executing test of 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 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 to root: failed > (32-bit/8-bit exit status: 256/1) > Sep  2 21:25:25 Gentoo-1 smartd[20742]: Executing test of 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