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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E16A915808B for ; Fri, 27 Sep 2024 04:47:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FFF52BC046; Fri, 27 Sep 2024 04:47:31 +0000 (UTC) Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) (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 06747E2B6B for ; Fri, 27 Sep 2024 04:47:30 +0000 (UTC) Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-3e03f8ecef8so1126308b6e.1 for ; Thu, 26 Sep 2024 21:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727412450; x=1728017250; darn=lists.gentoo.org; h=content-transfer-encoding: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=j/gR50V29YD0psrB3vijEvK4aWmthequijz+f1u7eZE=; b=YZccwBCklM5312zka8VXWAqxkIPPjyTbp/5mr3iwA5mzeoQiqZKyPRcY898yeBUgPb y6RSQYuKUQzk0FwNYGRFu5iGygHJNDI5uHe1YmjLZqrW2q3Tjb3zyePZ9q4GvQ6WUmck DKjTFAaJ3mAtT6auIvS9IP7kQTGrNAoqasxcjTF5Qx7RM8w54R0B2hv5+RX3nsbXmkNB Z3jPqh4WZm12O364BFe+b5acXCZClSSicS/zHa5X1HxipVPrIa4DvgudeQffIwjSj4Ze BJO8vlUh7ZCH7wwUdkrZPzoULDaPnex6l8/3P74Jj+xeYG9UdpbxLzEqgJM2jPy1Ql1Z Ra6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727412450; x=1728017250; h=content-transfer-encoding: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=j/gR50V29YD0psrB3vijEvK4aWmthequijz+f1u7eZE=; b=ZKP4oEU52f1TmfglYs54F1Cxvz6aJ89/m8zTcUYuEKcRWEjkIxh+Q8HymObk8wPyMP yPL5XpPogMHoFDMPVfd8yaA90IokhWQz0UQrLvAST3AHBjyz9TG1xXCztNMW7/nvlB5m +b8O2hpHHkoAK2VKQ0niyZ7jH73j2/vWmm4bSEmW58e+IX2YG5wcMJsUH/XUGLVRjSp5 D6acIM3X4l21EFn9+z2RwghOrsWGhsndP9zGiORQpOsHxm9PPZPM7buWJwcO3fjJhtS/ emcvjDlS/rLRgQL4/1Ja8Ge8Pznzj4UusypAkr8MxklHFBj/E43aownMkFPuOTQUZ4Ki BMDQ== X-Gm-Message-State: AOJu0YySq5OY5OttHEx89ezRQ94xAawZXIstS03fffyTW5Cnb9VbT2ub wab+n7kdkaf3t5ym0wWpC6WmDChvQSiYszyvDw77iHQn+kc2jcTT X-Google-Smtp-Source: AGHT+IFUnniKCkbxBVIvPp1PeomqAgu1Mhvac7CyCaU2Rs4cqj9m1QjXbdtGKA7DeuEjdBiiEoTIWg== X-Received: by 2002:a05:6808:1a16:b0:3e0:41ca:1443 with SMTP id 5614622812f47-3e393968e3dmr1740276b6e.16.1727412449983; Thu, 26 Sep 2024 21:47:29 -0700 (PDT) Received: from [10.8.8.5] ([45.203.21.14]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3e3935bdc75sm382835b6e.40.2024.09.26.21.47.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Sep 2024 21:47:28 -0700 (PDT) Subject: Re: [gentoo-user] Re: 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> <7f24b60f-b7bd-1a3f-83ca-722f34dcfd65@gmail.com> <7e93df09-d3a9-0710-a9e1-796815d64b83@gmail.com> 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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YCzo0b2pvEvdjtDcA CYLEFPWgaFX9iQAM/CDfKvTtvgGWpqtCL2raq/mQoJEU Message-ID: Date: Thu, 26 Sep 2024 23:47:26 -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: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 2f1b404f-3be9-48e6-8f70-278278051a05 X-Archives-Hash: 78689e824b5aa769179dd586f542430c Grant Edwards wrote: > On 2024-09-27, Dale wrote: > >> It says port 465 but it is using Oauth2 if that matters. > It doesn't. > >> I'll admit, the last time I got this working, I followed a guide and >> it just worked.  Once it worked, I left it alone.  I was scared that >> if I touched it, it would stop working.  LOL  >> >> I changed the config to port 465 and it still failed with this.  >> >> >> Sep 26 19:04:26 Gentoo-1 smartd[18737]: Executing test of to root ... >> Sep 26 19:04:36 Gentoo-1 msmtp[18815]: host=smtp.gmail.com tls=on >> auth=off from=rdalek1967gmail.com recipients=root errormsg='the >> server sent an empty reply' exitcode=EX_PROTOCOL > According to that message, the msmtp auth option is off. It needs to > be on. > > Look at the working configuraiton I posted. > > Use that configuration with your email address and app password. > > It also looks like smartd is trying to send mail to the recipient > "root". That's not a valid destination when sending via most smtp > servers. You need to be sending to a recipient that looks like > "user@domain". > > What port number are you trying to use? > > Please re-read what I wrote about port numbers and starttls. If > you're using port 465, you need to turn tls_starttls OFF. If you're > using port 587, tls_starttls needs to be ON. That's the default, but I > recommend turning it on explicitly. > > My advice: don't use smartd to try to get msmtp working. Use > something easier to work with. The usual way to do it is using > something like mailx. The Arch wiki page is an excellent resource: > > https://wiki.archlinux.org/title/Msmtp > > It shows how to test msmtp using mailx. > > It also addresses the error you're seeing explicitly: > > 8.2 Server sent empty reply > > If you get a "server sent empty reply" error, this probably means > the mail server does not support STARTTLS over port 587, but > requires TLS over port 465. > > Note that some systems will ignore a message without a Message-Id: > header, so the example from the Arch page that cats a message from a > file to msmtp might not work reliably. > > > > This is what I copied from yours, with obvious bits changed.  I'll put "noneya" in those, so you know that isn't the real info.  syslog LOG_MAIL account    default maildomain gmail.org syslog on from rdalek1967gmail.com host smtp.gmail.com port 465 tls on tls_certcheck off tls_starttls off auth on user rdalek1967@gmail.com password "noneya"  # That is the 16 character thing with spaces in it.  I included quotes but I think you had them there too.  I'm by no means a expert on this but I see 'auth on' in there.  I see what you talking about in the error to tho.  As I mentioned in other reply, I think something else is amiss somewhere.  If that config works with gmail for you, it should work here.  On the root thing, I have a alias set up in some file that tells it that root is my gmail address.  It worked before but maybe not now.  File is here:  /etc/mail/aliases  It has this info about root being my gmail address.  # Well-known aliases -- these should be filled in! root: rdalek1967@gmail.com My understanding, anything sent to root instead goes to my gmail account.  I could be wrong on that.  o_O  Is that what you have in yours?  If it is, it should work here.  If not, my copy and paste is broken.  LOL  That aliases file make sense?  Dale :-)  :-)