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 4D92A158083 for ; Thu, 26 Sep 2024 07:13:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49B0AE2A23; Thu, 26 Sep 2024 07:13:34 +0000 (UTC) Received: from dallas-out-002-2.smtp25.com (dallas-out-002-2.smtp25.com [63.71.12.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB35CE2A18 for ; Thu, 26 Sep 2024 07:13:33 +0000 (UTC) Received: from john-covicis-macbook-pro.taildc8be.ts.net (vpn-server4.covici.com [166.84.7.75]) (authenticated bits=0) by ccs.covici.com (8.17.1.9/8.17.1.9) with ESMTPSA id 48Q7D4eu2514580 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 26 Sep 2024 03:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccs.covici.com; s=default; t=1727334811; bh=z3Fv4I2qjoWs+qk7U5MB40tC0YD6jjUiNV5m87gmnYs=; h=Date:From:To:Subject:In-Reply-To:References; b=bm7xGjH082Be1SGHf8s0kUFWOgTfGw1gPTEAyh3iV+U2jaEY40wZwv8U4xBHuupzK yf6pfeTgLYOYspVXkBHQ39fUtMFhrZnv75+/p973sh19ElaD6JmZ3KFjP2n5pgJmRK uVhpY3yQ9isgHj/qdzwbmG1Iyv50M+m10KQlxLa4= Date: Thu, 26 Sep 2024 03:13:04 -0400 Message-ID: From: covici@ccs.covici.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Computer system email no not working since gmail change. In-Reply-To: <92bb1fcd-30f4-7712-4d90-a3d0f5301db6@gmail.com> References: <92bb1fcd-30f4-7712-4d90-a3d0f5301db6@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (aarch64-apple-darwin22.6.0) MULE/6.0 (HANACHIRUSATO) 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 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-SpamH-Filter: dallas-out-002.smtp25.com-48Q7DVpn017966 X-SpamH-OriginatingIP: 70.109.51.194 X-Archives-Salt: 4ac4f7dd-02e4-4564-b430-0ec999d9eb43 X-Archives-Hash: fb9a8a703c35aed01b36aecb1e48930d On Wed, 25 Sep 2024 16:43:09 -0400, Dale wrote: >=20 > Dale wrote: > > Hi, > > > > I posted the other day about my email setup.=A0 Then it hit me, while I > > copied the settings over, I never tested it.=A0 So, I tested it.=A0 Sure > > enough, no email sent.=A0 Got error messages tho.=A0 I mostly, maybe on= ly, > > use this for SMART drive info.=A0 If it detects failure or problems, it > > emails me.=A0 Well, it's supposed to anyway.=A0 So, I test by restarting > > smartd and it set to send a test email.=A0 > > > > I'm almost certain this started when Google changed the security setup a > > few years back.=A0 I've googled and tried the settings others use > > including the passkey thingy.=A0 None of it works.=A0 This is the outpu= t of > > messages for both smartd and smtp.=A0 Check out my fancy egrep.=A0 :-D= =A0 > > > > > > root@Gentoo-1 / # tail -n 50 -f /var/log/messages | egrep 'smartd|sSMTP' > > Sep=A0 2 21:23:08 Gentoo-1 smartd[20742]: Monitoring 8 ATA/SATA, 0 > > SCSI/SAS and 1 NVMe devices > > Sep=A0 2 21:23:08 Gentoo-1 smartd[20742]: Executing test of to r= oot ... > > Sep=A0 2 21:25:25 Gentoo-1 sSMTP[20757]: Unable to connect to > > "smtp.gmail.com" port 587. > > Sep=A0 2 21:25:25 Gentoo-1 sSMTP[20757]: Cannot open smtp.gmail.com:587 > > Sep=A0 2 21:25:25 Gentoo-1 smartd[20742]: Test of to root produc= ed > > unexpected output (65 bytes) to STDOUT/STDERR: > > Sep=A0 2 21:25:25 Gentoo-1 smartd[20742]: mail: cannot send message: > > Process exited with a non-zero status > > Sep=A0 2 21:25:25 Gentoo-1 smartd[20742]: Test of to root: failed > > (32-bit/8-bit exit status: 256/1) > > Sep=A0 2 21:25:25 Gentoo-1 smartd[20742]: Executing test of to r= oot ... > > Sep=A0 2 21:27:40 Gentoo-1 sSMTP[20885]: Unable to connect to > > "smtp.gmail.com" port 587. > > Sep=A0 2 21:27:40 Gentoo-1 sSMTP[20885]: Cannot open smtp.gmail.com:587 > > > > > > > > This is a edited version of some config files.=A0 Obvious things like > > passwords and such changed.=A0 > > > > > > root@Gentoo-1 / # cat /etc/ssmtp/revaliases > > > > root:rdalek1967@gmail.com:smtp.gmail.com:587 > > dalerdalek1967@gmail.com:587 > > other_user:rdalek1967@gmail.com:587 > > root@Gentoo-1 / # > > > > root@Gentoo-1 / # grep -v '^#' /etc/ssmtp/ssmtp.conf > > root=3Dpostmaster > > root=3Drdalek1967@gmail.com=A0 #Change to your preferred email address > > mailhub=3Dsmtp.gmail.com:587=A0 #Could also use port 587 for STARTTLS O= ld 465 > > rewriteDomain=3DGentoo-1=A0 #Something to denote your machine's name > > FromLineOverride=3DYES > > UseSTARTTLS=3DYES > > #UseTLS=3DYES > > AuthUser=3Drdalek1967@gmail.com > > AuthPass=3D=A0 #Special characters seem to barf with s= smtp > > #AuthPass=3Dabcdefghijklmnop > > mailhub=3Dmail > > # hostname=3D_HOSTNAME_ > > hostname=3DGentoo-1 > > root@Gentoo-1 / # > > > > > > I think that is the only config files.=A0 If not, I may have missed one > > and that is the problem.=A0 Some things that are commented out are thin= gs > > I tried with no success.=A0 If someone has a working setup and would li= ke > > to share a similar edited version of their files, that would be awesome= .=A0 > > > > Any ideas?=A0 Does Google just outright block this now?=A0 If so, I have > > another good reason to get rid of gmail.=A0 :-)=A0 > > > > Dale > > > > :-)=A0 :-) > > >=20 >=20 > No one here has their system set up to use Gmail for system emails???=A0 > Surely there is one person who can share a working config.=A0 I just wish > Google would stop changing things and screwing up our emails.=A0 > I would never use a free Email service to send -- its worth exactly > what you pay for!