From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Computer system email no not working since gmail change.
Date: Fri, 27 Sep 2024 10:33:11 -0500 [thread overview]
Message-ID: <8ccae33a-13ae-a655-8503-771ad48ccd77@gmail.com> (raw)
In-Reply-To: <vd6gjd$146n$1@ciao.gmane.io>
Grant Edwards wrote:
> On 2024-09-27, Dale <rdalek1967@gmail.com> wrote:
>
>> 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 / #
> Sorry, my bad. It's aliases not alias:
>
> $ man msmtp | grep alias
> Note that hdrs is accepted as an alias for headers to be compatible
> --aliases=[file]
> Set or unset an aliases file. See the aliases command.
> aliases [file]
> Replace local recipients with addresses in the aliases file. The aliases
> cal address is not found in the aliases file. If no default alias is found,
> Note that alias expansion only affects the mail envelope. The To and Cc head‐
> An empty argument to the aliases command disables the replacement of local
> # Example aliases file
>
> You do know about the msmtp man page, right?
>
Well, if copying someone's known working config file doesn't work right,
I'm not sure a man page is going to help much. That said, I changed the
alias line and then got a error about the account info. I commented it
out too. When I did that, I got this with your test command.
root@Gentoo-1 / # echo foo | msmtp -v bogus
loaded system configuration file /etc/msmtprc
ignoring user configuration file /root/.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 = rdalek1967<at>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 = rdalek1967<at>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_USER
aliases = /etc/mail/aliases
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 46e09a7af769-714fb6dfaafsm583235a34.76 - gsmtp
--> EHLO localhost
<-- 250-smtp.gmail.com at your service, [45.203.21.14]
<-- 250-SIZE 35882577
<-- 250-8BITMIME
<-- 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
<-- 250-ENHANCEDSTATUSCODES
<-- 250-PIPELINING
<-- 250-CHUNKING
<-- 250 SMTPUTF8
--> AUTH PLAIN AHJkYWxlazE5NjdAZ21haWwuY29tAGZjcGQgaGJqbSBmZ2ZnIGpscW0=
<-- 235 2.7.0 Accepted
--> MAIL FROM:<rdalek1967<at>gmail.com>
--> RCPT TO:<bogus>
--> DATA
<-- 250 2.1.0 OK 46e09a7af769-714fb6dfaafsm583235a34.76 - gsmtp
<-- 553-5.1.3 The recipient address <bogus> 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. 46e09a7af769-714fb6dfaafsm583235a34.76 - gsmtp
msmtp: recipient address bogus not accepted by the server
msmtp: server message: 553-5.1.3 The recipient address <bogus> 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.
46e09a7af769-714fb6dfaafsm583235a34.76 - gsmtp
msmtp: could not send mail (account default from /etc/msmtprc)
root@Gentoo-1 / #
Now things may be working better. So, I restarted smartd and guess
what, I got emails from smart about my hard drives. I have nine hard
drives. I got a email for each one. Can I get a YEPPIE!!!!
I think the original problem was having the account line. I got a error
about default already being set with your test command, not sure where
that was and it didn't say. So, I commented out the account line and
that is when it started working.
So, it works again. Now if I change email providers, I get to do this
again. Hopefully changing some bits will make it work.
Thanks for the help. We beat it into submission. ROFL
Dale
:-) :-)
P. S. About to rain. Can't mow grass. :-(
next prev parent reply other threads:[~2024-09-27 15:33 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 2:44 [gentoo-user] Computer system email no not working since gmail change Dale
2024-09-25 20:43 ` Dale
2024-09-26 7:13 ` covici
2024-09-26 7:28 ` Dale
2024-09-26 8:56 ` Michael
2024-09-26 10:44 ` Dale
2024-09-26 11:16 ` Michael
2024-09-26 15:42 ` Dale
2024-09-26 17:54 ` [gentoo-user] " Grant Edwards
2024-09-26 17:58 ` Grant Edwards
2024-09-26 20:20 ` Dale
2024-09-26 20:42 ` Grant Edwards
2024-09-26 21:03 ` Grant Edwards
2024-09-27 0:19 ` Dale
2024-09-26 21:11 ` Dale
2024-09-26 21:22 ` Grant Edwards
2024-09-27 0:08 ` Dale
2024-09-27 2:40 ` Grant Edwards
2024-09-27 4:47 ` Dale
2024-09-27 13:47 ` Grant Edwards
2024-09-27 14:11 ` Dale
2024-09-27 14:48 ` Grant Edwards
2024-09-27 15:33 ` Dale [this message]
2024-09-27 16:00 ` Grant Edwards
2024-09-27 16:28 ` Dale
2024-09-27 16:53 ` Michael
2024-09-27 10:31 ` Michael
2024-09-27 12:11 ` Dale
2024-09-27 13:06 ` Michael
2024-09-27 14:13 ` Dale
2024-09-26 12:47 ` Grant Edwards
2024-09-26 15:18 ` Dale
2024-09-26 13:42 ` [gentoo-user] " Frank Steinmetzger
2024-09-27 15:51 ` Dale
2024-09-27 16:49 ` John Blinka
2024-09-26 11:49 ` covici
2024-09-26 12:49 ` [gentoo-user] " Grant Edwards
2024-09-26 16:09 ` [gentoo-user] " Matt Connell
2024-09-27 15:58 ` Dale
2024-09-26 9:03 ` Wolfgang Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8ccae33a-13ae-a655-8503-771ad48ccd77@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox