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 2970015808B for ; Fri, 27 Sep 2024 14:11:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AC54E2A24; Fri, 27 Sep 2024 14:11:32 +0000 (UTC) Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 E0130E2A1B for ; Fri, 27 Sep 2024 14:11:31 +0000 (UTC) Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-710daaadd9bso1207809a34.2 for ; Fri, 27 Sep 2024 07:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727446291; x=1728051091; 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=WBKtVptEEeLqwRyu+ni3YDrDGY3rQ+0yml5B4aq5kN4=; b=Mk0HpQbc2mNtU5vTYELaGgVTpsJxcEZ7G0jGpCfT2vhByJT4QyGf7ivrR1lwCmanBW eTVLM8G1sMZIjuTIt8zYLgmxWfoQGGfSoKsfqGGTe1cz7f22oRUOXne6F3T8zFmP4sHe Xcc8DtSIaBtv3c0A4YqSMGiN/YA1/rYnSk+Md25KefTML70l967Mf+Ny8blVxwFOqhnh tRglMB2C2xsB/dqmHlU7X/vILpMgDz0R1n8KhsR+H4pOvsyCyThOawAq63ESJsHfIxLa GQpMaAhoWyg0MQC2O5WUz9h8naBcW7Ch4UBzyFiaIToTe8aHANPwR7FzlTuwj4pthxfQ gWfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727446291; x=1728051091; 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=WBKtVptEEeLqwRyu+ni3YDrDGY3rQ+0yml5B4aq5kN4=; b=ax1KdGkeBBmTbcmJeOgXh7u1Zn2PDBIyAYiiv0xIi2p2wgkaTrkZJjo0BOfXOcYSos 6UJ9MgywfUgPF4vDvBzd7RoM/PsyKmvmq0R8gw5qkQAlzOn9n4/exou+L9p99aYOqKRx Z5EtWcJd9OO0tnmTodLQjnxlYN3+6NUh8otKtuFZI9MAicTe0VTtWfjnACCXUdP0+yah fJAAsI55IfGk8wdF82ioC/ktaxZzFv/hkS+pbZniCMzYjIFpRPIltorHTj1dI732G8Xl G3YkJx8Rya70ndQ9DzMvov2W0YlUOAQprPu7BntmbmxP++vpxTQbAcN2UmA4wLXpOtV5 diuw== X-Gm-Message-State: AOJu0Ywd4F+ZnwOBkUtVGjOliSnc6GLr9FPDVHdfg3mTDDv2vTA8mMc5 O24z8+VEYw4UfYcEiMw3W3uR9bNSUe49wuy5SuONGaFNl9HoZOsR0u+eug== X-Google-Smtp-Source: AGHT+IG+4OSMGFAvr7+YJF8+k87F1VBg8KWT6hcqYToP9XDXoTGBitZgvAb/0R1jQwWfkcDk1HfSIQ== X-Received: by 2002:a05:6830:6a12:b0:713:d15b:6cb7 with SMTP id 46e09a7af769-714fbe73c2bmr3358041a34.4.1727446290775; Fri, 27 Sep 2024 07:11:30 -0700 (PDT) Received: from [10.8.8.5] ([45.203.21.14]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-714fb6dfbcbsm553206a34.77.2024.09.27.07.11.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Sep 2024 07:11:26 -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 ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCA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20Fc5k3GU1AVpTCMs3ayYCzo0b2pvEvdjtDcA CYLEFPWgaFX9iQAM/CDfKvTtvgGWpqtCL2raq/mQoJEU Message-ID: <029ecc03-80cf-9f9d-d24c-deb28714677c@gmail.com> Date: Fri, 27 Sep 2024 09:11:24 -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: fbc03e38-985a-42bb-ae6c-2b7aa2a12ac8 X-Archives-Hash: e0c935bb86fea45ee2cefbb41346eaf2 Grant Edwards wrote: > On 2024-09-27, Dale wrote: > >>>> 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. >> 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.  > That's not the config that msmtp is using. See in the log where it > says "auth=off"? It should say "auth=on". And I think it's also > using the wrong port number (or you should turn tls_startls off). > > Here's what my log looks like: > > Sep 26 15:57:47 aleph msmtp[21363]: host=smtp.gmail.com tls=on auth=on user=grant.b.edwards@gmail.com from=grant.b.edwards@gmail.com recipients=@.com mailsize=317 smtpstatus=250 smtpmsg='250 2.0.0 OK 1727384267 e9e14a558f8ab-3a344d605d5sm1326875ab.7 - gsmtp' exitcode=EX_OK > Well, that's where I put it.  I commented out all the other stuff and pasted yours in, changed the needed bits and then tested it.   >> 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.  > msmtp is not using the configuration you showed above. > >> 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.  > Msmtp doesn't read an alias file by default. You need to add an alias > command to the msmtp config: > > alias /etc/mail/aliases OK.  I added that line to the config file.  Then it gives me this error.  root@Gentoo-1 / # echo foo | msmtp -v bogus msmtp: /etc/msmtprc: line 5: unknown command alias root@Gentoo-1 / # > > Then run msmtp from the command line like this so you can see all the > settings and the messages exchanged. Pay particular attention to > where it's reading the configuration from, port number, and > tls_starttls. Also look to see where it's reading aliases from. > > $ echo foo | msmtp -v bogus > > msmtp: recipient address bogus not accepted by the server > msmtp: server message: 553-5.1.3 The recipient address is not a valid RFC 5321 address. For > msmtp: server message: 553-5.1.3 more information, go to > msmtp: server message: 553-5.1.3 https://support.google.com/a/answer/3221692 and review RFC 5321 > msmtp: server message: 553 5.1.3 specifications. 8926c6da1cb9f-4d8888f9f55sm483180173.166 - gsmtp > msmtp: could not send mail (account default from /etc/msmtprc) > loaded system configuration file /etc/msmtprc > ignoring user configuration file /home/grante/.msmtprc: No such file or directory > falling back to default account > *** using account default from /etc/msmtprc > host = smtp.gmail.com > *** port = 465 > source ip = (not set) > proxy host = (not set) > proxy port = 0 > socket = (not set) > timeout = off > protocol = smtp > domain = localhost > *** auth = choose > user = grant.b.edwards@gmail.com > password = * > passwordeval = (not set) > ntlmdomain = (not set) > *** tls = on > *** tls_starttls = off > tls_trust_file = system > tls_crl_file = (not set) > tls_fingerprint = (not set) > tls_key_file = (not set) > tls_cert_file = (not set) > tls_certcheck = off > tls_min_dh_prime_bits = (not set) > tls_priorities = (not set) > tls_host_override = (not set) > auto_from = off > maildomain = gmail.org > from = grant.b.edwards@gmail.com > from_full_name = (not set) > allow_from_override = on > set_from_header = auto > set_date_header = auto > remove_bcc_headers = on > undisclosed_recipients = off > dsn_notify = (not set) > dsn_return = (not set) > logfile = (not set) > logfile_time_format = (not set) > syslog = LOG_MAIL > *** aliases = (not set) > reading recipients from the command line > TLS session parameters: > (TLS1.3)-(ECDHE-X25519)-(ECDSA-SECP256R1-SHA256)-(AES-256-GCM) > TLS certificate information: > Subject: > CN=smtp.gmail.com > Issuer: > C=US,O=Google Trust Services,CN=WR2 > Validity: > Activation time: Mon 26 Aug 2024 02:12:09 AM CDT > Expiration time: Mon 18 Nov 2024 01:12:08 AM CST > Fingerprints: > SHA256: 01:AF:90:6E:FC:06:5C:B5:5D:B9:55:AB:27:07:B0:E7:8C:4F:EA:46:70:67:86:A9:E0:F1:BB:F7:5A:2E:1B:64 > SHA1 (deprecated): F2:B7:9C:3C:4C:FD:57:31:37:BB:8D:F6:DD:F7:FB:A2:D7:09:B2:BD > <-- 220 smtp.gmail.com ESMTP 8926c6da1cb9f-4d8888f9f55sm483180173.166 - gsmtp > --> EHLO localhost > <-- 250-smtp.gmail.com at your service, [24.152.157.105] > <-- 250-SIZE 35882577 > <-- 250-8BITMIME > <-- 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH > <-- 250-ENHANCEDSTATUSCODES > <-- 250-PIPELINING > <-- 250-CHUNKING > <-- 250 SMTPUTF8 > --> AUTH PLAIN <**************deleted************************>== > <-- 235 2.7.0 Accepted > --> MAIL FROM: > --> RCPT TO: > --> DATA > <-- 250 2.1.0 OK 8926c6da1cb9f-4d8888f9f55sm483180173.166 - gsmtp > <-- 553-5.1.3 The recipient address is not a valid RFC 5321 address. For > <-- 553-5.1.3 more information, go to > <-- 553-5.1.3 https://support.google.com/a/answer/3221692 and review RFC 5321 > <-- 553 5.1.3 specifications. 8926c6da1cb9f-4d8888f9f55sm483180173.166 - gsmtp > See above.  I didn't get anything like that.  It seems to puke on the first line it sees.  Dale :-)  :-)