* [gentoo-user] Computer system email no not working since gmail change. @ 2024-09-03 2:44 Dale 2024-09-25 20:43 ` Dale 2024-09-26 9:03 ` Wolfgang Müller 0 siblings, 2 replies; 40+ messages in thread From: Dale @ 2024-09-03 2:44 UTC (permalink / raw To: gentoo-user Hi, I posted the other day about my email setup. Then it hit me, while I copied the settings over, I never tested it. So, I tested it. Sure enough, no email sent. Got error messages tho. I mostly, maybe only, use this for SMART drive info. If it detects failure or problems, it emails me. Well, it's supposed to anyway. So, I test by restarting smartd and it set to send a test email. I'm almost certain this started when Google changed the security setup a few years back. I've googled and tried the settings others use including the passkey thingy. None of it works. This is the output of messages for both smartd and smtp. Check out my fancy egrep. :-D root@Gentoo-1 / # tail -n 50 -f /var/log/messages | egrep 'smartd|sSMTP' Sep 2 21:23:08 Gentoo-1 smartd[20742]: Monitoring 8 ATA/SATA, 0 SCSI/SAS and 1 NVMe devices Sep 2 21:23:08 Gentoo-1 smartd[20742]: Executing test of <mail> 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 <mail> 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 <mail> to root: failed (32-bit/8-bit exit status: 256/1) Sep 2 21:25:25 Gentoo-1 smartd[20742]: Executing test of <mail> 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 This is a edited version of some config files. Obvious things like passwords and such changed. root@Gentoo-1 / # cat /etc/ssmtp/revaliases root:rdalek<annoy the bots>1967@gmail.com:smtp.gmail.com:587 dalerdalek<annoy the bots>1967@gmail.com:587 other_user:rdalek<annoy the bots>1967@gmail.com:587 root@Gentoo-1 / # root@Gentoo-1 / # grep -v '^#' /etc/ssmtp/ssmtp.conf root=postmaster root=rdalek1967@gmail.com #Change to your preferred email address mailhub=smtp.gmail.com:587 #Could also use port 587 for STARTTLS Old 465 rewriteDomain=Gentoo-1 #Something to denote your machine's name FromLineOverride=YES UseSTARTTLS=YES #UseTLS=YES AuthUser=rdalek<annoy the bots>1967@gmail.com AuthPass=<not real either> #Special characters seem to barf with ssmtp #AuthPass=abcdefghijklmnop mailhub=mail # hostname=_HOSTNAME_ hostname=Gentoo-1 root@Gentoo-1 / # I think that is the only config files. If not, I may have missed one and that is the problem. Some things that are commented out are things I tried with no success. If someone has a working setup and would like to share a similar edited version of their files, that would be awesome. Any ideas? Does Google just outright block this now? If so, I have another good reason to get rid of gmail. :-) Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 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 16:09 ` [gentoo-user] " Matt Connell 2024-09-26 9:03 ` Wolfgang Müller 1 sibling, 2 replies; 40+ messages in thread From: Dale @ 2024-09-25 20:43 UTC (permalink / raw To: gentoo-user Dale wrote: > Hi, > > I posted the other day about my email setup. Then it hit me, while I > copied the settings over, I never tested it. So, I tested it. Sure > enough, no email sent. Got error messages tho. I mostly, maybe only, > use this for SMART drive info. If it detects failure or problems, it > emails me. Well, it's supposed to anyway. So, I test by restarting > smartd and it set to send a test email. > > I'm almost certain this started when Google changed the security setup a > few years back. I've googled and tried the settings others use > including the passkey thingy. None of it works. This is the output of > messages for both smartd and smtp. Check out my fancy egrep. :-D > > > root@Gentoo-1 / # tail -n 50 -f /var/log/messages | egrep 'smartd|sSMTP' > Sep 2 21:23:08 Gentoo-1 smartd[20742]: Monitoring 8 ATA/SATA, 0 > SCSI/SAS and 1 NVMe devices > Sep 2 21:23:08 Gentoo-1 smartd[20742]: Executing test of <mail> 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 <mail> 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 <mail> to root: failed > (32-bit/8-bit exit status: 256/1) > Sep 2 21:25:25 Gentoo-1 smartd[20742]: Executing test of <mail> 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 > > > > This is a edited version of some config files. Obvious things like > passwords and such changed. > > > root@Gentoo-1 / # cat /etc/ssmtp/revaliases > > root:rdalek<annoy the bots>1967@gmail.com:smtp.gmail.com:587 > dalerdalek<annoy the bots>1967@gmail.com:587 > other_user:rdalek<annoy the bots>1967@gmail.com:587 > root@Gentoo-1 / # > > root@Gentoo-1 / # grep -v '^#' /etc/ssmtp/ssmtp.conf > root=postmaster > root=rdalek1967@gmail.com #Change to your preferred email address > mailhub=smtp.gmail.com:587 #Could also use port 587 for STARTTLS Old 465 > rewriteDomain=Gentoo-1 #Something to denote your machine's name > FromLineOverride=YES > UseSTARTTLS=YES > #UseTLS=YES > AuthUser=rdalek<annoy the bots>1967@gmail.com > AuthPass=<not real either> #Special characters seem to barf with ssmtp > #AuthPass=abcdefghijklmnop > mailhub=mail > # hostname=_HOSTNAME_ > hostname=Gentoo-1 > root@Gentoo-1 / # > > > I think that is the only config files. If not, I may have missed one > and that is the problem. Some things that are commented out are things > I tried with no success. If someone has a working setup and would like > to share a similar edited version of their files, that would be awesome. > > Any ideas? Does Google just outright block this now? If so, I have > another good reason to get rid of gmail. :-) > > Dale > > :-) :-) > No one here has their system set up to use Gmail for system emails??? Surely there is one person who can share a working config. I just wish Google would stop changing things and screwing up our emails. Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-25 20:43 ` Dale @ 2024-09-26 7:13 ` covici 2024-09-26 7:28 ` Dale 2024-09-26 16:09 ` [gentoo-user] " Matt Connell 1 sibling, 1 reply; 40+ messages in thread From: covici @ 2024-09-26 7:13 UTC (permalink / raw To: gentoo-user On Wed, 25 Sep 2024 16:43:09 -0400, Dale wrote: > > Dale wrote: > > Hi, > > > > I posted the other day about my email setup. Then it hit me, while I > > copied the settings over, I never tested it. So, I tested it. Sure > > enough, no email sent. Got error messages tho. I mostly, maybe only, > > use this for SMART drive info. If it detects failure or problems, it > > emails me. Well, it's supposed to anyway. So, I test by restarting > > smartd and it set to send a test email. > > > > I'm almost certain this started when Google changed the security setup a > > few years back. I've googled and tried the settings others use > > including the passkey thingy. None of it works. This is the output of > > messages for both smartd and smtp. Check out my fancy egrep. :-D > > > > > > root@Gentoo-1 / # tail -n 50 -f /var/log/messages | egrep 'smartd|sSMTP' > > Sep 2 21:23:08 Gentoo-1 smartd[20742]: Monitoring 8 ATA/SATA, 0 > > SCSI/SAS and 1 NVMe devices > > Sep 2 21:23:08 Gentoo-1 smartd[20742]: Executing test of <mail> 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 <mail> 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 <mail> to root: failed > > (32-bit/8-bit exit status: 256/1) > > Sep 2 21:25:25 Gentoo-1 smartd[20742]: Executing test of <mail> 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 > > > > > > > > This is a edited version of some config files. Obvious things like > > passwords and such changed. > > > > > > root@Gentoo-1 / # cat /etc/ssmtp/revaliases > > > > root:rdalek<annoy the bots>1967@gmail.com:smtp.gmail.com:587 > > dalerdalek<annoy the bots>1967@gmail.com:587 > > other_user:rdalek<annoy the bots>1967@gmail.com:587 > > root@Gentoo-1 / # > > > > root@Gentoo-1 / # grep -v '^#' /etc/ssmtp/ssmtp.conf > > root=postmaster > > root=rdalek1967@gmail.com #Change to your preferred email address > > mailhub=smtp.gmail.com:587 #Could also use port 587 for STARTTLS Old 465 > > rewriteDomain=Gentoo-1 #Something to denote your machine's name > > FromLineOverride=YES > > UseSTARTTLS=YES > > #UseTLS=YES > > AuthUser=rdalek<annoy the bots>1967@gmail.com > > AuthPass=<not real either> #Special characters seem to barf with ssmtp > > #AuthPass=abcdefghijklmnop > > mailhub=mail > > # hostname=_HOSTNAME_ > > hostname=Gentoo-1 > > root@Gentoo-1 / # > > > > > > I think that is the only config files. If not, I may have missed one > > and that is the problem. Some things that are commented out are things > > I tried with no success. If someone has a working setup and would like > > to share a similar edited version of their files, that would be awesome. > > > > Any ideas? Does Google just outright block this now? If so, I have > > another good reason to get rid of gmail. :-) > > > > Dale > > > > :-) :-) > > > > > No one here has their system set up to use Gmail for system emails??? > Surely there is one person who can share a working config. I just wish > Google would stop changing things and screwing up our emails. > I would never use a free Email service to send -- its worth exactly > what you pay for! ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 7:13 ` covici @ 2024-09-26 7:28 ` Dale 2024-09-26 8:56 ` Michael 2024-09-26 11:49 ` covici 0 siblings, 2 replies; 40+ messages in thread From: Dale @ 2024-09-26 7:28 UTC (permalink / raw To: gentoo-user covici@ccs.covici.com wrote: > On Wed, 25 Sep 2024 16:43:09 -0400, > Dale wrote: >> Dale wrote: >>> Hi, >>> >>> I posted the other day about my email setup. Then it hit me, while I >>> copied the settings over, I never tested it. So, I tested it. Sure >>> enough, no email sent. Got error messages tho. I mostly, maybe only, >>> use this for SMART drive info. If it detects failure or problems, it >>> emails me. Well, it's supposed to anyway. So, I test by restarting >>> smartd and it set to send a test email. >>> >>> I'm almost certain this started when Google changed the security setup a >>> few years back. I've googled and tried the settings others use >>> including the passkey thingy. None of it works. This is the output of >>> messages for both smartd and smtp. Check out my fancy egrep. :-D >>> >>> >>> root@Gentoo-1 / # tail -n 50 -f /var/log/messages | egrep 'smartd|sSMTP' >>> Sep 2 21:23:08 Gentoo-1 smartd[20742]: Monitoring 8 ATA/SATA, 0 >>> SCSI/SAS and 1 NVMe devices >>> Sep 2 21:23:08 Gentoo-1 smartd[20742]: Executing test of <mail> 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 <mail> 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 <mail> to root: failed >>> (32-bit/8-bit exit status: 256/1) >>> Sep 2 21:25:25 Gentoo-1 smartd[20742]: Executing test of <mail> 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 >>> >>> >>> >>> This is a edited version of some config files. Obvious things like >>> passwords and such changed. >>> >>> >>> root@Gentoo-1 / # cat /etc/ssmtp/revaliases >>> >>> root:rdalek<annoy the bots>1967@gmail.com:smtp.gmail.com:587 >>> dalerdalek<annoy the bots>1967@gmail.com:587 >>> other_user:rdalek<annoy the bots>1967@gmail.com:587 >>> root@Gentoo-1 / # >>> >>> root@Gentoo-1 / # grep -v '^#' /etc/ssmtp/ssmtp.conf >>> root=postmaster >>> root=rdalek1967@gmail.com #Change to your preferred email address >>> mailhub=smtp.gmail.com:587 #Could also use port 587 for STARTTLS Old 465 >>> rewriteDomain=Gentoo-1 #Something to denote your machine's name >>> FromLineOverride=YES >>> UseSTARTTLS=YES >>> #UseTLS=YES >>> AuthUser=rdalek<annoy the bots>1967@gmail.com >>> AuthPass=<not real either> #Special characters seem to barf with ssmtp >>> #AuthPass=abcdefghijklmnop >>> mailhub=mail >>> # hostname=_HOSTNAME_ >>> hostname=Gentoo-1 >>> root@Gentoo-1 / # >>> >>> >>> I think that is the only config files. If not, I may have missed one >>> and that is the problem. Some things that are commented out are things >>> I tried with no success. If someone has a working setup and would like >>> to share a similar edited version of their files, that would be awesome. >>> >>> Any ideas? Does Google just outright block this now? If so, I have >>> another good reason to get rid of gmail. :-) >>> >>> Dale >>> >>> :-) :-) >>> >> >> No one here has their system set up to use Gmail for system emails??? >> Surely there is one person who can share a working config. I just wish >> Google would stop changing things and screwing up our emails. >> > I would never use a free Email service to send -- its worth exactly > what you pay for! > Well, I been wanting to switch but can't find one I know I will like long term. I don't want to switch then not like it and have to switch again. Then maybe repeat that a few times. I was thinking about switching to startmail but they started this captcha stuff which makes their website unusable for me. Every time I clicked on something, captcha. Click on something else, captcha. I stopped using startpage completely after reaching out to them and basically, getting little to no real help. Shame really. Seemed like a good option. If you know a email service that isn't to expensive but is secure, not secure enough to block me from doing things I need to do tho, I'm open to ideas. I'd like something that is outside the USA if possible. You know, one of those countries that tells folks to go pound sand when they want to snoop around. ;-) Oh, not interested in setting up my own either. I got enough interesting computer problems already. ;-) Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 7:28 ` Dale @ 2024-09-26 8:56 ` Michael 2024-09-26 10:44 ` Dale 2024-09-26 11:49 ` covici 1 sibling, 1 reply; 40+ messages in thread From: Michael @ 2024-09-26 8:56 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 6110 bytes --] On Thursday 26 September 2024 08:28:47 BST Dale wrote: > covici@ccs.covici.com wrote: > > On Wed, 25 Sep 2024 16:43:09 -0400, > > > > Dale wrote: > >> Dale wrote: > >>> Hi, > >>> > >>> I posted the other day about my email setup. Then it hit me, while I > >>> copied the settings over, I never tested it. So, I tested it. Sure > >>> enough, no email sent. Got error messages tho. I mostly, maybe only, > >>> use this for SMART drive info. If it detects failure or problems, it > >>> emails me. Well, it's supposed to anyway. So, I test by restarting > >>> smartd and it set to send a test email. > >>> > >>> I'm almost certain this started when Google changed the security setup a > >>> few years back. I've googled and tried the settings others use > >>> including the passkey thingy. None of it works. This is the output of > >>> messages for both smartd and smtp. Check out my fancy egrep. :-D > >>> > >>> > >>> root@Gentoo-1 / # tail -n 50 -f /var/log/messages | egrep 'smartd|sSMTP' > >>> Sep 2 21:23:08 Gentoo-1 smartd[20742]: Monitoring 8 ATA/SATA, 0 > >>> SCSI/SAS and 1 NVMe devices > >>> Sep 2 21:23:08 Gentoo-1 smartd[20742]: Executing test of <mail> 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 <mail> 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 <mail> to root: failed > >>> (32-bit/8-bit exit status: 256/1) > >>> Sep 2 21:25:25 Gentoo-1 smartd[20742]: Executing test of <mail> 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 > >>> > >>> > >>> > >>> This is a edited version of some config files. Obvious things like > >>> passwords and such changed. > >>> > >>> > >>> root@Gentoo-1 / # cat /etc/ssmtp/revaliases > >>> > >>> root:rdalek<annoy the bots>1967@gmail.com:smtp.gmail.com:587 > >>> dalerdalek<annoy the bots>1967@gmail.com:587 > >>> other_user:rdalek<annoy the bots>1967@gmail.com:587 > >>> root@Gentoo-1 / # > >>> > >>> root@Gentoo-1 / # grep -v '^#' /etc/ssmtp/ssmtp.conf > >>> root=postmaster > >>> root=rdalek1967@gmail.com #Change to your preferred email address > >>> mailhub=smtp.gmail.com:587 #Could also use port 587 for STARTTLS Old > >>> 465 > >>> rewriteDomain=Gentoo-1 #Something to denote your machine's name > >>> FromLineOverride=YES > >>> UseSTARTTLS=YES > >>> #UseTLS=YES > >>> AuthUser=rdalek<annoy the bots>1967@gmail.com > >>> AuthPass=<not real either> #Special characters seem to barf with ssmtp > >>> #AuthPass=abcdefghijklmnop > >>> mailhub=mail > >>> # hostname=_HOSTNAME_ > >>> hostname=Gentoo-1 > >>> root@Gentoo-1 / # > >>> > >>> > >>> I think that is the only config files. If not, I may have missed one > >>> and that is the problem. Some things that are commented out are things > >>> I tried with no success. If someone has a working setup and would like > >>> to share a similar edited version of their files, that would be > >>> awesome. > >>> > >>> Any ideas? Does Google just outright block this now? If so, I have > >>> another good reason to get rid of gmail. :-) > >>> > >>> Dale > >>> > >>> :-) :-) > >> > >> No one here has their system set up to use Gmail for system emails??? > >> Surely there is one person who can share a working config. I just wish > >> Google would stop changing things and screwing up our emails. ssmtp stopped working with a conventional password when Google introduced 2- Step-Verification for their GMail account. Consequently, to be able to continue using ssmtp you need to set up an 'App Password' and use the 16- character password generated by Google to login: https://support.google.com/mail/answer/185833 It used to be the case you could set up an 'App Password' without having to provide them with your phone number and other 'none-of-their-business' personal information, but for some years now they have been asking for more information to allow you to complete setting up 'App Password' for your Google account(s) and device(s). > > I would never use a free Email service to send -- its worth exactly > > what you pay for! When the service is offered as being supposedly 'free', you, by providing your data, is the product. > Well, I been wanting to switch but can't find one I know I will like > long term. I don't want to switch then not like it and have to switch > again. Then maybe repeat that a few times. I was thinking about > switching to startmail but they started this captcha stuff which makes > their website unusable for me. Every time I clicked on something, > captcha. Click on something else, captcha. I stopped using startpage > completely after reaching out to them and basically, getting little to > no real help. Shame really. Seemed like a good option. Mass-market services cannot afford providing individual user support. At best they may provide some FAQs. Some may host a forum of sorts for users to offer support to other users. Oh, ... hold on! LOL! > If you know a email service that isn't to expensive but is secure, not > secure enough to block me from doing things I need to do tho, I'm open > to ideas. I'd like something that is outside the USA if possible. You > know, one of those countries that tells folks to go pound sand when they > want to snoop around. ;-) The snooping mostly takes place across borders. Your government's 3-letter agencies will ask whichever other hosting country's agencies to share with them any information they have about you and reciprocate accordingly. There is no privacy on the Internet. That said, if you're interested in limiting opportunistic snooping, something like this may help: https://proton.me/mail [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 8:56 ` Michael @ 2024-09-26 10:44 ` Dale 2024-09-26 11:16 ` Michael ` (2 more replies) 0 siblings, 3 replies; 40+ messages in thread From: Dale @ 2024-09-26 10:44 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2739 bytes --] Michael wrote: > On Thursday 26 September 2024 08:28:47 BST Dale wrote: >> ssmtp stopped working with a conventional password when Google >> introduced 2- > Step-Verification for their GMail account. Consequently, to be able to > continue using ssmtp you need to set up an 'App Password' and use the 16- > character password generated by Google to login: > > https://support.google.com/mail/answer/185833 > > It used to be the case you could set up an 'App Password' without having to > provide them with your phone number and other 'none-of-their-business' > personal information, but for some years now they have been asking for more > information to allow you to complete setting up 'App Password' for your Google > account(s) and device(s). > I also tried the 16 character password method too. It still didn't work. >>> I would never use a free Email service to send -- its worth exactly >>> what you pay for! > When the service is offered as being supposedly 'free', you, by providing your > data, is the product. > > >> Well, I been wanting to switch but can't find one I know I will like >> long term. I don't want to switch then not like it and have to switch >> again. Then maybe repeat that a few times. I was thinking about >> switching to startmail but they started this captcha stuff which makes >> their website unusable for me. Every time I clicked on something, >> captcha. Click on something else, captcha. I stopped using startpage >> completely after reaching out to them and basically, getting little to >> no real help. Shame really. Seemed like a good option. > Mass-market services cannot afford providing individual user support. At best > they may provide some FAQs. Some may host a forum of sorts for users to offer > support to other users. Oh, ... hold on! LOL! > > >> If you know a email service that isn't to expensive but is secure, not >> secure enough to block me from doing things I need to do tho, I'm open >> to ideas. I'd like something that is outside the USA if possible. You >> know, one of those countries that tells folks to go pound sand when they >> want to snoop around. ;-) > The snooping mostly takes place across borders. Your government's 3-letter > agencies will ask whichever other hosting country's agencies to share with > them any information they have about you and reciprocate accordingly. There > is no privacy on the Internet. > > That said, if you're interested in limiting opportunistic snooping, something > like this may help: > > https://proton.me/mail I'll have to check into that more. I'm not sure I could send my system emails through that tho. It sounds like it requires encryption end to end. I think. Dale :-) :-) [-- Attachment #2: Type: text/html, Size: 4636 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 10:44 ` Dale @ 2024-09-26 11:16 ` Michael 2024-09-26 15:42 ` Dale 2024-09-26 12:47 ` Grant Edwards 2024-09-26 13:42 ` [gentoo-user] " Frank Steinmetzger 2 siblings, 1 reply; 40+ messages in thread From: Michael @ 2024-09-26 11:16 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1167 bytes --] On Thursday 26 September 2024 11:44:08 BST Dale wrote: > Michael wrote: > > On Thursday 26 September 2024 08:28:47 BST Dale wrote: > >> ssmtp stopped working with a conventional password when Google > >> introduced 2- > > > > Step-Verification for their GMail account. Consequently, to be able to > > continue using ssmtp you need to set up an 'App Password' and use the 16- > > > > character password generated by Google to login: > > https://support.google.com/mail/answer/185833 > > > > It used to be the case you could set up an 'App Password' without having > > to > > provide them with your phone number and other 'none-of-their-business' > > personal information, but for some years now they have been asking for > > more > > information to allow you to complete setting up 'App Password' for your > > Google account(s) and device(s). > > I also tried the 16 character password method too. It still didn't work. In this case the ssmtp package has outlived its usefulness. It was always limited in what characters it would accept and parse as a password. It's abandonware since 2019 - debian recommends to use msmtp: https://wiki.debian.org/sSMTP [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 11:16 ` Michael @ 2024-09-26 15:42 ` Dale 2024-09-26 17:54 ` [gentoo-user] " Grant Edwards 0 siblings, 1 reply; 40+ messages in thread From: Dale @ 2024-09-26 15:42 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2671 bytes --] Michael wrote: > On Thursday 26 September 2024 11:44:08 BST Dale wrote: >> Michael wrote: >>> On Thursday 26 September 2024 08:28:47 BST Dale wrote: >>>> ssmtp stopped working with a conventional password when Google >>>> introduced 2- >>> Step-Verification for their GMail account. Consequently, to be able to >>> continue using ssmtp you need to set up an 'App Password' and use the 16- >>> >>> character password generated by Google to login: >>> https://support.google.com/mail/answer/185833 >>> >>> It used to be the case you could set up an 'App Password' without having >>> to >>> provide them with your phone number and other 'none-of-their-business' >>> personal information, but for some years now they have been asking for >>> more >>> information to allow you to complete setting up 'App Password' for your >>> Google account(s) and device(s). >> I also tried the 16 character password method too. It still didn't work. > In this case the ssmtp package has outlived its usefulness. It was always > limited in what characters it would accept and parse as a password. It's > abandonware since 2019 - debian recommends to use msmtp: > > https://wiki.debian.org/sSMTP I removed ssmtp and installed msmtp. I think I got the config set up but it is different so I may not have it right. It doesn't work tho. From messages. Sep 26 10:03:33 Gentoo-1 smartd[27728]: Executing test of <mail> to root ... Sep 26 10:05:40 Gentoo-1 msmtp[30861]: host=smtp.gmail.com tls=on auth=off from=rdalek1967<at>gmail.com recipients=root errormsg='cannot connect to smtp.gmail.com, port 587: Connection timed out' exitcode=EX_TEMPFAIL Sep 26 10:05:40 Gentoo-1 smartd[27073]: Test of <mail> to root produced unexpected output (65 bytes) to STDOUT/STDERR: Sep 26 10:05:40 Gentoo-1 smartd[27073]: mail: cannot send message: Process exited with a non-zero status Sep 26 10:05:40 Gentoo-1 smartd[27073]: Test of <mail> to root: failed (32-bit/8-bit exit status: 256/1) Config file: account default # The SMTP smarthost #host mail.oursite.example host smtp.gmail.com # Use TLS on port 465. On this port, TLS starts without STARTTLS. #port 465 port 587 tls on # tls_starttls off tls_starttls on #password sorry password sorry # Construct envelope-from addresses of the form "user@oursite.example" #from %U@oursite.example from rdalek1967<at>gmail.com # Do not allow programs to override this envelope-from address via -f allow_from_override off # Always set a From header that matches the envelope-from address set_from_header on # Syslog logging with facility LOG_MAIL instead of the default LOG_USER syslog LOG_MAIL What did I do wrong? ;-) Dale :-) :-) [-- Attachment #2: Type: text/html, Size: 4393 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 15:42 ` Dale @ 2024-09-26 17:54 ` Grant Edwards 2024-09-26 17:58 ` Grant Edwards 2024-09-26 20:20 ` Dale 0 siblings, 2 replies; 40+ messages in thread From: Grant Edwards @ 2024-09-26 17:54 UTC (permalink / raw To: gentoo-user On 2024-09-26, Dale <rdalek1967@gmail.com> wrote: > I removed ssmtp and installed msmtp. I think I got the config set up > but it is different so I may not have it right. It doesn't work tho. > From messages. > > > Sep 26 10:03:33 Gentoo-1 smartd[27728]: Executing test of <mail> to root ... > Sep 26 10:05:40 Gentoo-1 msmtp[30861]: host=smtp.gmail.com tls=on > auth=off from=rdalek1967<at>gmail.com recipients=root errormsg='cannot > connect to smtp.gmail.com, port 587: Connection timed out' > exitcode=EX_TEMPFAIL It looks like your network is broken. Try this: $ telnet smtp.gmail.com 587 Trying 209.85.145.109... Connected to smtp.gmail.com. Escape character is '^]'. 220 smtp.gmail.com ESMTP 8926c6da1cb9f-4d888860978sm58959173.69 - gsmtp Note: Port 587 is for plaintext connection and then shifting into TLS mode with the starttls command. When configuring msmtp: port 587 tls on tls-starttls on or port 465 tls on tls-starttls off Port 465 starts using TLS immediately $ openssl s_client -connect smtp.gmail.com:465 CONNECTED(00000003) depth=2 C = US, O = Google Trust Services LLC, CN = GTS Root R1 verify return:1 depth=1 C = US, O = Google Trust Services, CN = WR2 verify return:1 depth=0 CN = smtp.gmail.com verify return:1 --- Certificate chain 0 s:CN = smtp.gmail.com i:C = US, O = Google Trust Services, CN = WR2 a:PKEY: id-ecPublicKey, 256 (bit); sigalg: RSA-SHA256 v:NotBefore: Aug 26 07:12:09 2024 GMT; NotAfter: Nov 18 07:12:08 2024 GMT [...] --- read R BLOCK 220 smtp.gmail.com ESMTP e9e14a558f8ab-3a344d9250esm496675ab.41 - gsmtp ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 17:54 ` [gentoo-user] " Grant Edwards @ 2024-09-26 17:58 ` Grant Edwards 2024-09-26 20:20 ` Dale 1 sibling, 0 replies; 40+ messages in thread From: Grant Edwards @ 2024-09-26 17:58 UTC (permalink / raw To: gentoo-user On 2024-09-26, Grant Edwards <grant.b.edwards@gmail.com> wrote: > On 2024-09-26, Dale <rdalek1967@gmail.com> wrote: > >> Sep 26 10:03:33 Gentoo-1 smartd[27728]: Executing test of <mail> to root ... >> Sep 26 10:05:40 Gentoo-1 msmtp[30861]: host=smtp.gmail.com tls=on >> auth=off from=rdalek1967<at>gmail.com recipients=root errormsg='cannot >> connect to smtp.gmail.com, port 587: Connection timed out' >> exitcode=EX_TEMPFAIL > > It looks like your network is broken. Try this: > > $ telnet smtp.gmail.com 587 > Trying 209.85.145.109... > Connected to smtp.gmail.com. > Escape character is '^]'. > 220 smtp.gmail.com ESMTP 8926c6da1cb9f-4d888860978sm58959173.69 - gsmtp BTW, some ISPs block connections to SMTP ports on hosts other than their own mail servers. [Which is a particularly annoying type of "broken".] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 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 1 sibling, 1 reply; 40+ messages in thread From: Dale @ 2024-09-26 20:20 UTC (permalink / raw To: gentoo-user Grant Edwards wrote: > On 2024-09-26, Dale <rdalek1967@gmail.com> wrote: > >> I removed ssmtp and installed msmtp. I think I got the config set up >> but it is different so I may not have it right. It doesn't work tho. >> From messages. >> >> >> Sep 26 10:03:33 Gentoo-1 smartd[27728]: Executing test of <mail> to root ... >> Sep 26 10:05:40 Gentoo-1 msmtp[30861]: host=smtp.gmail.com tls=on >> auth=off from=rdalek1967<at>gmail.com recipients=root errormsg='cannot >> connect to smtp.gmail.com, port 587: Connection timed out' >> exitcode=EX_TEMPFAIL > It looks like your network is broken. Try this: > > $ telnet smtp.gmail.com 587 > Trying 209.85.145.109... > Connected to smtp.gmail.com. > Escape character is '^]'. > 220 smtp.gmail.com ESMTP 8926c6da1cb9f-4d888860978sm58959173.69 - gsmtp > > Note: Port 587 is for plaintext connection and then shifting into TLS > mode with the starttls command. When configuring msmtp: > > port 587 > tls on > tls-starttls on > or > port 465 > tls on > tls-starttls off > > Port 465 starts using TLS immediately > > $ openssl s_client -connect smtp.gmail.com:465 > CONNECTED(00000003) > depth=2 C = US, O = Google Trust Services LLC, CN = GTS Root R1 > verify return:1 > depth=1 C = US, O = Google Trust Services, CN = WR2 > verify return:1 > depth=0 CN = smtp.gmail.com > verify return:1 > --- > Certificate chain > 0 s:CN = smtp.gmail.com > i:C = US, O = Google Trust Services, CN = WR2 > a:PKEY: id-ecPublicKey, 256 (bit); sigalg: RSA-SHA256 > v:NotBefore: Aug 26 07:12:09 2024 GMT; NotAfter: Nov 18 07:12:08 2024 GMT > [...] > --- > read R BLOCK > 220 smtp.gmail.com ESMTP e9e14a558f8ab-3a344d9250esm496675ab.41 - gsmtp > > > > > Which package do I need for that telnet? I see a few packages with that name. I am connected through a VPN but Seamonkey works fine. I can check and send email there, hence this thread. I figure I got something set up wrong after a Gmail change. Sort of stupid to make something so secure you can't use it. It's like buying a computer and saying the only way to secure it is to keep it turned off. :/ Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 20:20 ` Dale @ 2024-09-26 20:42 ` Grant Edwards 2024-09-26 21:03 ` Grant Edwards 2024-09-26 21:11 ` Dale 0 siblings, 2 replies; 40+ messages in thread From: Grant Edwards @ 2024-09-26 20:42 UTC (permalink / raw To: gentoo-user On 2024-09-26, Dale <rdalek1967@gmail.com> wrote: > Grant Edwards wrote: > >> It looks like your network is broken. Try this: >> >> $ telnet smtp.gmail.com 587 >> Trying 209.85.145.109... >> Connected to smtp.gmail.com. >> Escape character is '^]'. >> 220 smtp.gmail.com ESMTP 8926c6da1cb9f-4d888860978sm58959173.69 - gsmtp >> >> Note: Port 587 is for plaintext connection and then shifting into TLS >> mode with the starttls command. When configuring msmtp: >> >> port 587 >> tls on >> tls-starttls on >> or >> port 465 >> tls on >> tls-starttls off >> >> Port 465 starts using TLS immediately >> >> [...] > Which package do I need for that telnet? I see a few packages with that > name. Any of them should work. I use net-misc/netkit-telnetd. It will also install a telnet daemon, but it won't enbale it > I am connected through a VPN but Seamonkey works fine. I can check and > send email there, Do you mean can send email via Gmail's SMTP server using Seamonkey? How are the SMTP server settings configured in Seamonkey? Is it using Oauth2 or an app password? > hence this thread. I figure I got something set up wrong after a > Gmail change. Sort of stupid to make something so secure you can't > use it. It's like buying a computer and saying the only way to > secure it is to keep it turned off. :/ Well, that last part is true, as long as you keep it in a locked room. I just did a quick test, and sending via smtp.gmail.com using an app password worked fine from mutt. I don't have msmtp set up at the moment. ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 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 1 sibling, 1 reply; 40+ messages in thread From: Grant Edwards @ 2024-09-26 21:03 UTC (permalink / raw To: gentoo-user On 2024-09-26, Grant Edwards <grant.b.edwards@gmail.com> wrote: > I just did a quick test, and sending via smtp.gmail.com using an app > password worked fine from mutt. I don't have msmtp set up at the > moment. Ijust set up msmtp and it works too. Below is the msmtp config, * If you want, replace "account gmail" with "account default", then you don't have to supply the "-a gmail" option to msmtp. * replace (in two places) username@gmail.com with your email address. * replace XXXX XXXX XXXX XXXX with your app password. -----------------------------------8<------------------------------------- syslog LOG_MAIL account gmail maildomain gmail.org syslog on from gmailusername@gmail.com host smtp.gmail.com port 465 tls on tls_certcheck off tls_starttls off auth on user gmailusername@gmail.com password "XXXX XXXX XXXX XXXX" -----------------------------------8<------------------------------------- ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 21:03 ` Grant Edwards @ 2024-09-27 0:19 ` Dale 0 siblings, 0 replies; 40+ messages in thread From: Dale @ 2024-09-27 0:19 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2219 bytes --] Grant Edwards wrote: > On 2024-09-26, Grant Edwards <grant.b.edwards@gmail.com> wrote: > >> I just did a quick test, and sending via smtp.gmail.com using an app >> password worked fine from mutt. I don't have msmtp set up at the >> moment. > Ijust set up msmtp and it works too. Below is the msmtp config, > > * If you want, replace "account gmail" with "account default", then > you don't have to supply the "-a gmail" option to msmtp. > > * replace (in two places) username@gmail.com with your email address. > > * replace XXXX XXXX XXXX XXXX with your app password. > > -----------------------------------8<------------------------------------- > syslog LOG_MAIL > > account gmail > maildomain gmail.org > syslog on > from gmailusername@gmail.com > host smtp.gmail.com > port 465 > tls on > tls_certcheck off > tls_starttls off > auth on > user gmailusername@gmail.com > password "XXXX XXXX XXXX XXXX" > -----------------------------------8<------------------------------------- > > > Sorry. Somehow I missed this reply. I copy and pasted yours and changed the needed bits. I put spaces in the password like you showed. I assume it needs those. I also changed gmail to default for account. When I start smartd, it adds this to messages. Sep 26 19:13:47 Gentoo-1 smartd[21480]: Executing test of <mail> to root ... Sep 26 19:13:47 Gentoo-1 smartd[21480]: Test of <mail> to root produced unexpected output (65 bytes) to STDOUT/STDERR: Sep 26 19:13:47 Gentoo-1 smartd[21480]: mail: cannot send message: Process exited with a non-zero status Sep 26 19:13:47 Gentoo-1 smartd[21480]: Test of <mail> to root: failed (32-bit/8-bit exit status: 256/1) Based on what you posted that works for you, I think there may be a problem elsewhere. Maybe I have something somewhere else set wrong and don't know it, maybe even a silly typo. If that config you posted works for you, I see no reason it shouldn't work here unless you pay for something extra. Other than that, I suspect smtp is set up right but something else isn't. Should we look elsewhere? Any idea where? Could it be smart itself that is set up wrong? Sending wrong thing to smtp? Thanks for the help. Dale :-) :-) [-- Attachment #2: Type: text/html, Size: 3481 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 20:42 ` Grant Edwards 2024-09-26 21:03 ` Grant Edwards @ 2024-09-26 21:11 ` Dale 2024-09-26 21:22 ` Grant Edwards 2024-09-27 10:31 ` Michael 1 sibling, 2 replies; 40+ messages in thread From: Dale @ 2024-09-26 21:11 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 4156 bytes --] Grant Edwards wrote: > On 2024-09-26, Dale <rdalek1967@gmail.com> wrote: >> Grant Edwards wrote: >> >>> It looks like your network is broken. Try this: >>> >>> $ telnet smtp.gmail.com 587 >>> Trying 209.85.145.109... >>> Connected to smtp.gmail.com. >>> Escape character is '^]'. >>> 220 smtp.gmail.com ESMTP 8926c6da1cb9f-4d888860978sm58959173.69 - gsmtp >>> >>> Note: Port 587 is for plaintext connection and then shifting into TLS >>> mode with the starttls command. When configuring msmtp: >>> >>> port 587 >>> tls on >>> tls-starttls on >>> or >>> port 465 >>> tls on >>> tls-starttls off >>> >>> Port 465 starts using TLS immediately >>> >>> [...] >> Which package do I need for that telnet? I see a few packages with that >> name. > Any of them should work. I use net-misc/netkit-telnetd. It will also > install a telnet daemon, but it won't enbale it I have -1 in make.conf so whatever I install will be depcleaned later. Anyway, I installed the one you mentioned and got this. root@Gentoo-1 / # telnet smtp.gmail.com 587 Trying 142.251.116.108... Trying 2607:f8b0:4023:1000::6c... telnet: Unable to connect to remote host: Network is unreachable root@Gentoo-1 / # Can't connect. Well, that explains a lot. It can't reach anything to log into. It looks like it is trying both IPv4 and v6. So, I used ping. It works there. root@Gentoo-1 / # ping smtp.gmail.com PING smtp.gmail.com (142.250.115.108) 56(84) bytes of data. 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=1 ttl=53 time=32.1 ms 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=2 ttl=53 time=45.0 ms 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=3 ttl=53 time=39.3 ms ^C --- smtp.gmail.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 32.062/38.776/45.017/5.299 ms root@Gentoo-1 / # ping 142.251.116.108 PING 142.251.116.108 (142.251.116.108) 56(84) bytes of data. 64 bytes from 142.251.116.108: icmp_seq=1 ttl=53 time=30.4 ms 64 bytes from 142.251.116.108: icmp_seq=2 ttl=53 time=56.0 ms 64 bytes from 142.251.116.108: icmp_seq=3 ttl=53 time=30.6 ms ^C --- 142.251.116.108 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 30.351/38.988/56.049/12.063 ms root@Gentoo-1 / # What silly boo boo did I make this time???? >> I am connected through a VPN but Seamonkey works fine. I can check and >> send email there, > Do you mean can send email via Gmail's SMTP server using Seamonkey? > > How are the SMTP server settings configured in Seamonkey? > > Is it using Oauth2 or an app password? I checked, It is using Oauth2. I had to change it a good while back but I think SMART could still send emails for a while after that. Seamonkey wouldn't fetch or send emails tho until I changed to the Oauth thing. Also, it stopped autofetching emails with that too. I used to have it set to check for new messages like every 20 minutes. I have to manually check since the change. Annoying as heck. The first time I used the app password was when I was following guides on how to set up email for SMART when I realized it wasn't working on my new rig. I don't use it on anything else. I didn't realize it wasn't working on the old rig either. >> hence this thread. I figure I got something set up wrong after a >> Gmail change. Sort of stupid to make something so secure you can't >> use it. It's like buying a computer and saying the only way to >> secure it is to keep it turned off. :/ > Well, that last part is true, as long as you keep it in a locked room. > > I just did a quick test, and sending via smtp.gmail.com using an app > password worked fine from mutt. I don't have msmtp set up at the > moment. > That is true but why buy one if you can't run it? LOL This is yet another reason I want to switch from Gmail. They nothing but nosy anyway. I think it is common knowledge that they scan all emails and use the info for various things, including ads, which I block by the way. Dale :-) :-) [-- Attachment #2: Type: text/html, Size: 6528 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 21:11 ` Dale @ 2024-09-26 21:22 ` Grant Edwards 2024-09-27 0:08 ` Dale 2024-09-27 10:31 ` Michael 1 sibling, 1 reply; 40+ messages in thread From: Grant Edwards @ 2024-09-26 21:22 UTC (permalink / raw To: gentoo-user On 2024-09-26, Dale <rdalek1967@gmail.com> wrote: > root@Gentoo-1 / # telnet smtp.gmail.com 587 > Trying 142.251.116.108... > Trying 2607:f8b0:4023:1000::6c... > telnet: Unable to connect to remote host: Network is unreachable > root@Gentoo-1 / # > > Can't connect. Well, that explains a lot. It can't reach anything to > log into. It looks like it is trying both IPv4 and v6. So, I used > ping. It works there. > > root@Gentoo-1 / # ping smtp.gmail.com > PING smtp.gmail.com (142.250.115.108) 56(84) bytes of data. > 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=1 ttl=53 Those commands are using two different IP addresses. It's not uncommon that DNS resolvers for heavily used services rotate through a pool of addresses, but for testing purposes you should pick a single IP address. >>> I am connected through a VPN but Seamonkey works fine. I can check and >>> send email there, >> Do you mean can send email via Gmail's SMTP server using Seamonkey? >> >> How are the SMTP server settings configured in Seamonkey? >> >> Is it using Oauth2 or an app password? > > I checked, It is using Oauth2. I had to change it a good while back > but I think SMART could still send emails for a while after that. Is it using the same port number as msmtp? >> I just did a quick test, and sending via smtp.gmail.com using an app >> password worked fine from mutt. I don't have msmtp set up at the >> moment. > > That is true but why buy one if you can't run it? LOL This is yet > another reason I want to switch from Gmail. They nothing but nosy > anyway. I think it is common knowledge that they scan all emails and > use the info for various things, including ads, which I block by the > way. There's nothing wrong with Gmail. The app password feature works exactly as documented, and is definitely the right way to provide authentication for "dumb" programs that don't know how to do OAUTH2. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 21:22 ` Grant Edwards @ 2024-09-27 0:08 ` Dale 2024-09-27 2:40 ` Grant Edwards 0 siblings, 1 reply; 40+ messages in thread From: Dale @ 2024-09-27 0:08 UTC (permalink / raw To: gentoo-user Grant Edwards wrote: > On 2024-09-26, Dale <rdalek1967@gmail.com> wrote: > >> root@Gentoo-1 / # telnet smtp.gmail.com 587 >> Trying 142.251.116.108... >> Trying 2607:f8b0:4023:1000::6c... >> telnet: Unable to connect to remote host: Network is unreachable >> root@Gentoo-1 / # >> >> Can't connect. Well, that explains a lot. It can't reach anything to >> log into. It looks like it is trying both IPv4 and v6. So, I used >> ping. It works there. >> >> root@Gentoo-1 / # ping smtp.gmail.com >> PING smtp.gmail.com (142.250.115.108) 56(84) bytes of data. >> 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=1 ttl=53 > Those commands are using two different IP addresses. > > It's not uncommon that DNS resolvers for heavily used services rotate > through a pool of addresses, but for testing purposes you should pick > a single IP address. > >>>> I am connected through a VPN but Seamonkey works fine. I can check and >>>> send email there, >>> Do you mean can send email via Gmail's SMTP server using Seamonkey? >>> >>> How are the SMTP server settings configured in Seamonkey? >>> >>> Is it using Oauth2 or an app password? >> I checked, It is using Oauth2. I had to change it a good while back >> but I think SMART could still send emails for a while after that. > Is it using the same port number as msmtp? > It says port 465 but it is using Oauth2 if that matters. 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 <mail> to root ... Sep 26 19:04:36 Gentoo-1 msmtp[18815]: host=smtp.gmail.com tls=on auth=off from=rdalek1967<at>gmail.com recipients=root errormsg='the server sent an empty reply' exitcode=EX_PROTOCOL Sep 26 19:04:36 Gentoo-1 smartd[18737]: Test of <mail> to root produced unexpected output (65 bytes) to STDOUT/STDERR: Sep 26 19:04:36 Gentoo-1 smartd[18737]: mail: cannot send message: Process exited with a non-zero status Sep 26 19:04:36 Gentoo-1 smartd[18737]: Test of <mail> to root: failed (32-bit/8-bit exit status: 256/1) It repeated that several times before stopping. >>> I just did a quick test, and sending via smtp.gmail.com using an app >>> password worked fine from mutt. I don't have msmtp set up at the >>> moment. >> That is true but why buy one if you can't run it? LOL This is yet >> another reason I want to switch from Gmail. They nothing but nosy >> anyway. I think it is common knowledge that they scan all emails and >> use the info for various things, including ads, which I block by the >> way. > There's nothing wrong with Gmail. The app password feature works > exactly as documented, and is definitely the right way to provide > authentication for "dumb" programs that don't know how to do OAUTH2. > > > I still don't like all the snooping they do. Basically, I just don't trust Google, with a lot of things. Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 0:08 ` Dale @ 2024-09-27 2:40 ` Grant Edwards 2024-09-27 4:47 ` Dale 0 siblings, 1 reply; 40+ messages in thread From: Grant Edwards @ 2024-09-27 2:40 UTC (permalink / raw To: gentoo-user On 2024-09-27, Dale <rdalek1967@gmail.com> 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 <mail> to root ... > Sep 26 19:04:36 Gentoo-1 msmtp[18815]: host=smtp.gmail.com tls=on > auth=off from=rdalek1967<at>gmail.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. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 2:40 ` Grant Edwards @ 2024-09-27 4:47 ` Dale 2024-09-27 13:47 ` Grant Edwards 0 siblings, 1 reply; 40+ messages in thread From: Dale @ 2024-09-27 4:47 UTC (permalink / raw To: gentoo-user Grant Edwards wrote: > On 2024-09-27, Dale <rdalek1967@gmail.com> 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 <mail> to root ... >> Sep 26 19:04:36 Gentoo-1 msmtp[18815]: host=smtp.gmail.com tls=on >> auth=off from=rdalek1967<at>gmail.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 rdalek1967<noneya>gmail.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 :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 4:47 ` Dale @ 2024-09-27 13:47 ` Grant Edwards 2024-09-27 14:11 ` Dale 0 siblings, 1 reply; 40+ messages in thread From: Grant Edwards @ 2024-09-27 13:47 UTC (permalink / raw To: gentoo-user On 2024-09-27, Dale <rdalek1967@gmail.com> wrote: >>> Sep 26 19:04:26 Gentoo-1 smartd[18737]: Executing test of <mail> to root ... >>> Sep 26 19:04:36 Gentoo-1 msmtp[18815]: host=smtp.gmail.com tls=on >>> auth=off from=rdalek1967<at>gmail.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 rdalek1967<noneya>gmail.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=<deleted>@<deleted>.com mailsize=317 smtpstatus=250 smtpmsg='250 2.0.0 OK 1727384267 e9e14a558f8ab-3a344d605d5sm1326875ab.7 - gsmtp' exitcode=EX_OK > 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 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 <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. 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:<grant.b.edwards@gmail.com> --> RCPT TO:<bogus> --> DATA <-- 250 2.1.0 OK 8926c6da1cb9f-4d8888f9f55sm483180173.166 - 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. 8926c6da1cb9f-4d8888f9f55sm483180173.166 - gsmtp ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 13:47 ` Grant Edwards @ 2024-09-27 14:11 ` Dale 2024-09-27 14:48 ` Grant Edwards 0 siblings, 1 reply; 40+ messages in thread From: Dale @ 2024-09-27 14:11 UTC (permalink / raw To: gentoo-user Grant Edwards wrote: > On 2024-09-27, Dale <rdalek1967@gmail.com> wrote: > >>>> Sep 26 19:04:26 Gentoo-1 smartd[18737]: Executing test of <mail> to root ... >>>> Sep 26 19:04:36 Gentoo-1 msmtp[18815]: host=smtp.gmail.com tls=on >>>> auth=off from=rdalek1967<at>gmail.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 rdalek1967<noneya>gmail.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=<deleted>@<deleted>.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 <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. 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:<grant.b.edwards@gmail.com> > --> RCPT TO:<bogus> > --> DATA > <-- 250 2.1.0 OK 8926c6da1cb9f-4d8888f9f55sm483180173.166 - 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. 8926c6da1cb9f-4d8888f9f55sm483180173.166 - gsmtp > See above. I didn't get anything like that. It seems to puke on the first line it sees. Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 14:11 ` Dale @ 2024-09-27 14:48 ` Grant Edwards 2024-09-27 15:33 ` Dale 0 siblings, 1 reply; 40+ messages in thread From: Grant Edwards @ 2024-09-27 14:48 UTC (permalink / raw To: gentoo-user 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? ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 14:48 ` Grant Edwards @ 2024-09-27 15:33 ` Dale 2024-09-27 16:00 ` Grant Edwards 0 siblings, 1 reply; 40+ messages in thread From: Dale @ 2024-09-27 15:33 UTC (permalink / raw To: gentoo-user 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. :-( ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 15:33 ` Dale @ 2024-09-27 16:00 ` Grant Edwards 2024-09-27 16:28 ` Dale 0 siblings, 1 reply; 40+ messages in thread From: Grant Edwards @ 2024-09-27 16:00 UTC (permalink / raw To: gentoo-user On 2024-09-27, Dale <rdalek1967@gmail.com> wrote: >> 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. The working configuration I provided didn't have an alias (or aliases) command in it. > That said, I changed the alias line and then got a error about the > account info. What error? > I commented it out too. What was "it"? > When I did that, I got this with your test command. [...] > 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!!!! Great! ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 16:00 ` Grant Edwards @ 2024-09-27 16:28 ` Dale 2024-09-27 16:53 ` Michael 0 siblings, 1 reply; 40+ messages in thread From: Dale @ 2024-09-27 16:28 UTC (permalink / raw To: gentoo-user Grant Edwards wrote: > On 2024-09-27, Dale <rdalek1967@gmail.com> wrote: > >>> 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. > The working configuration I provided didn't have an alias (or aliases) > command in it. You mentioned I needed to add that so I did. I think that also helped, once we got the spelling right. >> That said, I changed the alias line and then got a error about the >> account info. > What error? The error said 'default' was already set. I'm not sure where it was set but that's what it said. I commented out the line that I pasted in the config file and then things got better. >> I commented it out too. > What was "it"? > I think that was the default account info. >> When I did that, I got this with your test command. > [...] > >> 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!!!! > Great! It is great. Also, reset everything else security wise including main password. It needed doing anyway. I should be safe again. Thanks so much. Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 16:28 ` Dale @ 2024-09-27 16:53 ` Michael 0 siblings, 0 replies; 40+ messages in thread From: Michael @ 2024-09-27 16:53 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1608 bytes --] On Friday 27 September 2024 17:28:13 BST Dale wrote: > Grant Edwards wrote: > > On 2024-09-27, Dale <rdalek1967@gmail.com> wrote: > >>> 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. > > > > The working configuration I provided didn't have an alias (or aliases) > > command in it. > > You mentioned I needed to add that so I did. I think that also helped, > once we got the spelling right. > > >> That said, I changed the alias line and then got a error about the > >> account info. > > > > What error? > > The error said 'default' was already set. I'm not sure where it was set > but that's what it said. I commented out the line that I pasted in the > config file and then things got better. > > >> I commented it out too. > > > > What was "it"? > > I think that was the default account info. > > >> When I did that, I got this with your test command. > > > > [...] > > > >> 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!!!! > > > > Great! > > It is great. Also, reset everything else security wise including main > password. It needed doing anyway. I should be safe again. > > Thanks so much. > > Dale > > :-) :-) Good result, although I am confused how you were not able to connect with telnet to the gmail server one moment, but were able to connect thereafter with msmtp. :-/ [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 21:11 ` Dale 2024-09-26 21:22 ` Grant Edwards @ 2024-09-27 10:31 ` Michael 2024-09-27 12:11 ` Dale 1 sibling, 1 reply; 40+ messages in thread From: Michael @ 2024-09-27 10:31 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 3415 bytes --] On Thursday 26 September 2024 22:11:20 BST Dale wrote: > root@Gentoo-1 / # telnet smtp.gmail.com 587 > Trying 142.251.116.108... > Trying 2607:f8b0:4023:1000::6c... > telnet: Unable to connect to remote host: Network is unreachable > root@Gentoo-1 / # > > > Can't connect. Well, that explains a lot. It can't reach anything to > log into. It looks like it is trying both IPv4 and v6. So, I used > ping. It works there. STOP RIGHT THERE! You may not have a mail application configuration problem after all (ssmtp/ msmtp), but you definitely have a network/server connectivity problem. You need to sort out the network connection first, before you look at your smtp client configuration. > root@Gentoo-1 / # ping smtp.gmail.com > PING smtp.gmail.com (142.250.115.108) 56(84) bytes of data. > 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=1 ttl=53 > time=32.1 ms > 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=2 ttl=53 > time=45.0 ms > 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=3 ttl=53 > time=39.3 ms > ^C > --- smtp.gmail.com ping statistics --- > 3 packets transmitted, 3 received, 0% packet loss, time 1998ms > rtt min/avg/max/mdev = 32.062/38.776/45.017/5.299 ms > root@Gentoo-1 / # ping 142.251.116.108 > PING 142.251.116.108 (142.251.116.108) 56(84) bytes of data. > 64 bytes from 142.251.116.108: icmp_seq=1 ttl=53 time=30.4 ms > 64 bytes from 142.251.116.108: icmp_seq=2 ttl=53 time=56.0 ms > 64 bytes from 142.251.116.108: icmp_seq=3 ttl=53 time=30.6 ms > ^C > --- 142.251.116.108 ping statistics --- > 3 packets transmitted, 3 received, 0% packet loss, time 2000ms > rtt min/avg/max/mdev = 30.351/38.988/56.049/12.063 ms > root@Gentoo-1 / # So you can access the server, but not connect to the port. Can you connect to ports 25, or 465? Can you connect to 'smtp-relay.gmail.com' instead? If you cannot see an open port, then either your network is misconfigured, or you've annoyed Google enough to block your access to their smtp service. > What silly boo boo did I make this time???? > > >> I am connected through a VPN but Seamonkey works fine. I can check and > >> send email there, Ah! I have found Google logs your IP address and when this changes they may choose to block your connection to their service. Often it sends you a message in your backup email address/phone asking you to confirm if the device and new IP address you are trying to connect from is you and yours. Throwing a VPN in the works may trigger the above security (re)action, when your client is using an 'App Password' token, as opposed to the full OAUTH2 exchange. > That is true but why buy one if you can't run it? LOL This is yet > another reason I want to switch from Gmail. They nothing but nosy > anyway. I think it is common knowledge that they scan all emails and > use the info for various things, including ads, which I block by the way. Google's modus operandi is arguably predicated on recording your data, your location, your movements, your purchases, your contacts, your written/spoken word, your interests, your thoughts, etc. Selling advertisements is a monetisation mechanism to facilitate the high cost of their operation. They are not unique in this endeavor, other Big-Tech quasi-monopolies are performing the same role. The offer of 'free' internet services is the honeypot used to attract footfall. [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 10:31 ` Michael @ 2024-09-27 12:11 ` Dale 2024-09-27 13:06 ` Michael 0 siblings, 1 reply; 40+ messages in thread From: Dale @ 2024-09-27 12:11 UTC (permalink / raw To: gentoo-user Michael wrote: > On Thursday 26 September 2024 22:11:20 BST Dale wrote: > >> root@Gentoo-1 / # telnet smtp.gmail.com 587 >> Trying 142.251.116.108... >> Trying 2607:f8b0:4023:1000::6c... >> telnet: Unable to connect to remote host: Network is unreachable >> root@Gentoo-1 / # >> >> >> Can't connect. Well, that explains a lot. It can't reach anything to >> log into. It looks like it is trying both IPv4 and v6. So, I used >> ping. It works there. > STOP RIGHT THERE! > > You may not have a mail application configuration problem after all (ssmtp/ > msmtp), but you definitely have a network/server connectivity problem. You > need to sort out the network connection first, before you look at your smtp > client configuration. > That's my thinking but everything else works fine. Seamonkey email works just fine. >> root@Gentoo-1 / # ping smtp.gmail.com >> PING smtp.gmail.com (142.250.115.108) 56(84) bytes of data. >> 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=1 ttl=53 >> time=32.1 ms >> 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=2 ttl=53 >> time=45.0 ms >> 64 bytes from rq-in-f108.1e100.net (142.250.115.108): icmp_seq=3 ttl=53 >> time=39.3 ms >> ^C >> --- smtp.gmail.com ping statistics --- >> 3 packets transmitted, 3 received, 0% packet loss, time 1998ms >> rtt min/avg/max/mdev = 32.062/38.776/45.017/5.299 ms >> root@Gentoo-1 / # ping 142.251.116.108 >> PING 142.251.116.108 (142.251.116.108) 56(84) bytes of data. >> 64 bytes from 142.251.116.108: icmp_seq=1 ttl=53 time=30.4 ms >> 64 bytes from 142.251.116.108: icmp_seq=2 ttl=53 time=56.0 ms >> 64 bytes from 142.251.116.108: icmp_seq=3 ttl=53 time=30.6 ms >> ^C >> --- 142.251.116.108 ping statistics --- >> 3 packets transmitted, 3 received, 0% packet loss, time 2000ms >> rtt min/avg/max/mdev = 30.351/38.988/56.049/12.063 ms >> root@Gentoo-1 / # > So you can access the server, but not connect to the port. > > Can you connect to ports 25, or 465? > > Can you connect to 'smtp-relay.gmail.com' instead? > > If you cannot see an open port, then either your network is misconfigured, or > you've annoyed Google enough to block your access to their smtp service. > > >> What silly boo boo did I make this time???? >> >>>> I am connected through a VPN but Seamonkey works fine. I can check and >>>> send email there, > Ah! I have found Google logs your IP address and when this changes they may > choose to block your connection to their service. Often it sends you a > message in your backup email address/phone asking you to confirm if the device > and new IP address you are trying to connect from is you and yours. > > Throwing a VPN in the works may trigger the above security (re)action, when > your client is using an 'App Password' token, as opposed to the full OAUTH2 > exchange. > I have had it send a thing I have to use on my phone. I don't recall giving google my phone number tho. I rarely give my phone number to any website. Heck, except for a couple people, I don't ever answer the phone anyway. My default ring tone is silent. Only half a dozen people have a ring tone. >> That is true but why buy one if you can't run it? LOL This is yet >> another reason I want to switch from Gmail. They nothing but nosy >> anyway. I think it is common knowledge that they scan all emails and >> use the info for various things, including ads, which I block by the way. > Google's modus operandi is arguably predicated on recording your data, your > location, your movements, your purchases, your contacts, your written/spoken > word, your interests, your thoughts, etc. Selling advertisements is a > monetisation mechanism to facilitate the high cost of their operation. They > are not unique in this endeavor, other Big-Tech quasi-monopolies are > performing the same role. The offer of 'free' internet services is the > honeypot used to attract footfall. Yep. Looking at that Proton email thing. It doesn't cost to much for that basic thing above free. I just renewed my Surfshark so want to spread these bills a little apart. I'm mostly just wanting something that works like gmail but doesn't snoop. I got encryption set up, I think anyway. I haven't used it since transferring to new rig. I'm wondering if we should just start from scratch. Either I missed something simple or something is missing somewhere. I'm also wondering of that /var/spool method might be better. Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 12:11 ` Dale @ 2024-09-27 13:06 ` Michael 2024-09-27 14:13 ` Dale 0 siblings, 1 reply; 40+ messages in thread From: Michael @ 2024-09-27 13:06 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 527 bytes --] On Friday 27 September 2024 13:11:46 BST Dale wrote: > Michael wrote: > > You may not have a mail application configuration problem after all > > (ssmtp/ > > msmtp), but you definitely have a network/server connectivity problem. > > You > > need to sort out the network connection first, before you look at your > > smtp > > client configuration. > > That's my thinking but everything else works fine. Seamonkey email > works just fine. Is your telnet, ssmtp, msmtp routing going through the same VPN as your Seamonkey? [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-27 13:06 ` Michael @ 2024-09-27 14:13 ` Dale 0 siblings, 0 replies; 40+ messages in thread From: Dale @ 2024-09-27 14:13 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 834 bytes --] Michael wrote: > On Friday 27 September 2024 13:11:46 BST Dale wrote: >> Michael wrote: >>> You may not have a mail application configuration problem after all >>> (ssmtp/ >>> msmtp), but you definitely have a network/server connectivity problem. >>> You >>> need to sort out the network connection first, before you look at your >>> smtp >>> client configuration. >> That's my thinking but everything else works fine. Seamonkey email >> works just fine. > Is your telnet, ssmtp, msmtp routing going through the same VPN as your > Seamonkey? I never got around to setting up a tunnel thing so all traffic, except to my local NAS box, goes through the VPN. I kinda like everything going through the VPN anyway. ;-) Dale :-) :-) P. S. Gotta go mow about 4 or 5 acres of grass. They have a large mower at least. [-- Attachment #2: Type: text/html, Size: 1838 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 10:44 ` Dale 2024-09-26 11:16 ` Michael @ 2024-09-26 12:47 ` Grant Edwards 2024-09-26 15:18 ` Dale 2024-09-26 13:42 ` [gentoo-user] " Frank Steinmetzger 2 siblings, 1 reply; 40+ messages in thread From: Grant Edwards @ 2024-09-26 12:47 UTC (permalink / raw To: gentoo-user On 2024-09-26, Dale <rdalek1967@gmail.com> wrote: > >> It used to be the case you could set up an 'App Password' without having to >> provide them with your phone number and other 'none-of-their-business' >> personal information, but for some years now they have been asking for more >> information to allow you to complete setting up 'App Password' for your Google >> account(s) and device(s). >> > > I also tried the 16 character password method too. It still didn't work. For what value of "didn't work"? I don't use it regularly, but I set it up several years ago and it was working fine the last time I tried it (a couple months ago). -- Grant ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 12:47 ` Grant Edwards @ 2024-09-26 15:18 ` Dale 0 siblings, 0 replies; 40+ messages in thread From: Dale @ 2024-09-26 15:18 UTC (permalink / raw To: gentoo-user Grant Edwards wrote: > On 2024-09-26, Dale <rdalek1967@gmail.com> wrote: >>> It used to be the case you could set up an 'App Password' without having to >>> provide them with your phone number and other 'none-of-their-business' >>> personal information, but for some years now they have been asking for more >>> information to allow you to complete setting up 'App Password' for your Google >>> account(s) and device(s). >>> >> I also tried the 16 character password method too. It still didn't work. > For what value of "didn't work"? > > I don't use it regularly, but I set it up several years ago and it was > working fine the last time I tried it (a couple months ago). > > -- > Grant > > > . > It did the same thing as using the regular password. Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 10:44 ` Dale 2024-09-26 11:16 ` Michael 2024-09-26 12:47 ` Grant Edwards @ 2024-09-26 13:42 ` Frank Steinmetzger 2024-09-27 15:51 ` Dale 2024-09-27 16:49 ` John Blinka 2 siblings, 2 replies; 40+ messages in thread From: Frank Steinmetzger @ 2024-09-26 13:42 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 864 bytes --] Am Thu, Sep 26, 2024 at 05:44:08AM -0500 schrieb Dale: > > That said, if you're interested in limiting opportunistic snooping, something > > like this may help: > > > > https://proton.me/mail > > > I'll have to check into that more. I'm not sure I could send my system > emails through that tho. It sounds like it requires encryption end to > end. I think. > > Dale I would actually try and set up local mail delivery straight to /var/spool without the detour over a network. We’ve had this topic already, methinks. You can then add the folder to Thunderbird/Seamonkey, since spool usually is mbox format, which is also the default in TB. -- Grüße | Greetings | Salut | Qapla’ Please do not share anything from, with or about me on any social network. If a snowball is a ball of snow – what, then, is a football? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 13:42 ` [gentoo-user] " Frank Steinmetzger @ 2024-09-27 15:51 ` Dale 2024-09-27 16:49 ` John Blinka 1 sibling, 0 replies; 40+ messages in thread From: Dale @ 2024-09-27 15:51 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 995 bytes --] Frank Steinmetzger wrote: > Am Thu, Sep 26, 2024 at 05:44:08AM -0500 schrieb Dale: > >>> That said, if you're interested in limiting opportunistic snooping, something >>> like this may help: >>> >>> https://proton.me/mail >> I'll have to check into that more. I'm not sure I could send my system >> emails through that tho. It sounds like it requires encryption end to >> end. I think. >> >> Dale > I would actually try and set up local mail delivery straight to /var/spool > without the detour over a network. We’ve had this topic already, methinks. > You can then add the folder to Thunderbird/Seamonkey, since spool usually is > mbox format, which is also the default in TB. > That was plan B. Basically, I just needed a way for SMART to let me know of issues. Since Grant beat it into submission, maybe Gmail will leave things alone for a while and stop putting locked doors in the way. Thanks for the idea. I was starting to consider it, a lot. Dale :-) :-) [-- Attachment #2: Type: text/html, Size: 1958 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 13:42 ` [gentoo-user] " Frank Steinmetzger 2024-09-27 15:51 ` Dale @ 2024-09-27 16:49 ` John Blinka 1 sibling, 0 replies; 40+ messages in thread From: John Blinka @ 2024-09-27 16:49 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1588 bytes --] On Thu, Sep 26, 2024 at 9:43 AM Frank Steinmetzger <Warp_7@gmx.de> wrote: > Am Thu, Sep 26, 2024 at 05:44:08AM -0500 schrieb Dale: > > > > That said, if you're interested in limiting opportunistic snooping, > something > > > like this may help: > > > > > > https://proton.me/mail > > > > > > I'll have to check into that more. I'm not sure I could send my system > > emails through that tho. It sounds like it requires encryption end to > > end. I think. > > > > Dale > > I would actually try and set up local mail delivery straight to /var/spool > without the detour over a network. We’ve had this topic already, methinks. > You can then add the folder to Thunderbird/Seamonkey, since spool usually > is > mbox format, which is also the default in TB. > > -- > Grüße | Greetings | Salut | Qapla’ > Please do not share anything from, with or about me on any social network. > > If a snowball is a ball of snow – what, then, is a football? > Exactly. I used to send system email out through gmail, but after periodic breakages in that route due to Google security changes, I realized keeping these emails within my local network was a more reliable, lower hassle alternative for me: postfix/dovecot/mutt. I just use it for system mails, so config was straightforward. No more gmail config hassles, no more Google reading my emails. The one time I’ve been hacked was through gmail, so I’ve also eliminated a security risk. Not the answer to the question asked, so possibly not a useful one, but maybe food for thought. John Blinka [-- Attachment #2: Type: text/html, Size: 2191 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 7:28 ` Dale 2024-09-26 8:56 ` Michael @ 2024-09-26 11:49 ` covici 2024-09-26 12:49 ` [gentoo-user] " Grant Edwards 1 sibling, 1 reply; 40+ messages in thread From: covici @ 2024-09-26 11:49 UTC (permalink / raw To: gentoo-user On Thu, 26 Sep 2024 03:28:47 -0400, Dale wrote: > > covici@ccs.covici.com wrote: > > On Wed, 25 Sep 2024 16:43:09 -0400, > > Dale wrote: > >> Dale wrote: > >>> Hi, > >>> > >>> I posted the other day about my email setup. Then it hit me, while I > >>> copied the settings over, I never tested it. So, I tested it. Sure > >>> enough, no email sent. Got error messages tho. I mostly, maybe only, > >>> use this for SMART drive info. If it detects failure or problems, it > >>> emails me. Well, it's supposed to anyway. So, I test by restarting > >>> smartd and it set to send a test email. > >>> > >>> I'm almost certain this started when Google changed the security setup a > >>> few years back. I've googled and tried the settings others use > >>> including the passkey thingy. None of it works. This is the output of > >>> messages for both smartd and smtp. Check out my fancy egrep. :-D > >>> > >>> > >>> root@Gentoo-1 / # tail -n 50 -f /var/log/messages | egrep 'smartd|sSMTP' > >>> Sep 2 21:23:08 Gentoo-1 smartd[20742]: Monitoring 8 ATA/SATA, 0 > >>> SCSI/SAS and 1 NVMe devices > >>> Sep 2 21:23:08 Gentoo-1 smartd[20742]: Executing test of <mail> 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 <mail> 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 <mail> to root: failed > >>> (32-bit/8-bit exit status: 256/1) > >>> Sep 2 21:25:25 Gentoo-1 smartd[20742]: Executing test of <mail> 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 > >>> > >>> > >>> > >>> This is a edited version of some config files. Obvious things like > >>> passwords and such changed. > >>> > >>> > >>> root@Gentoo-1 / # cat /etc/ssmtp/revaliases > >>> > >>> root:rdalek<annoy the bots>1967@gmail.com:smtp.gmail.com:587 > >>> dalerdalek<annoy the bots>1967@gmail.com:587 > >>> other_user:rdalek<annoy the bots>1967@gmail.com:587 > >>> root@Gentoo-1 / # > >>> > >>> root@Gentoo-1 / # grep -v '^#' /etc/ssmtp/ssmtp.conf > >>> root=postmaster > >>> root=rdalek1967@gmail.com #Change to your preferred email address > >>> mailhub=smtp.gmail.com:587 #Could also use port 587 for STARTTLS Old 465 > >>> rewriteDomain=Gentoo-1 #Something to denote your machine's name > >>> FromLineOverride=YES > >>> UseSTARTTLS=YES > >>> #UseTLS=YES > >>> AuthUser=rdalek<annoy the bots>1967@gmail.com > >>> AuthPass=<not real either> #Special characters seem to barf with ssmtp > >>> #AuthPass=abcdefghijklmnop > >>> mailhub=mail > >>> # hostname=_HOSTNAME_ > >>> hostname=Gentoo-1 > >>> root@Gentoo-1 / # > >>> > >>> > >>> I think that is the only config files. If not, I may have missed one > >>> and that is the problem. Some things that are commented out are things > >>> I tried with no success. If someone has a working setup and would like > >>> to share a similar edited version of their files, that would be awesome. > >>> > >>> Any ideas? Does Google just outright block this now? If so, I have > >>> another good reason to get rid of gmail. :-) > >>> > >>> Dale > >>> > >>> :-) :-) > >>> > >> > >> No one here has their system set up to use Gmail for system emails??? > >> Surely there is one person who can share a working config. I just wish > >> Google would stop changing things and screwing up our emails. > >> > > I would never use a free Email service to send -- its worth exactly > > what you pay for! > > > > Well, I been wanting to switch but can't find one I know I will like > long term. I don't want to switch then not like it and have to switch > again. Then maybe repeat that a few times. I was thinking about > switching to startmail but they started this captcha stuff which makes > their website unusable for me. Every time I clicked on something, > captcha. Click on something else, captcha. I stopped using startpage > completely after reaching out to them and basically, getting little to > no real help. Shame really. Seemed like a good option. > > If you know a email service that isn't to expensive but is secure, not > secure enough to block me from doing things I need to do tho, I'm open > to ideas. I'd like something that is outside the USA if possible. You > know, one of those countries that tells folks to go pound sand when they > want to snoop around. ;-) Oh, not interested in setting up my own > either. I got enough interesting computer problems already. ;-) > I was looking at fastmail but which ever you go with, you should setup your own domain and that way if you don't like your provider you can change without changing your email address. ^ permalink raw reply [flat|nested] 40+ messages in thread
* [gentoo-user] Re: Computer system email no not working since gmail change. 2024-09-26 11:49 ` covici @ 2024-09-26 12:49 ` Grant Edwards 0 siblings, 0 replies; 40+ messages in thread From: Grant Edwards @ 2024-09-26 12:49 UTC (permalink / raw To: gentoo-user On 2024-09-26, covici@ccs.covici.com <covici@ccs.covici.com> wrote: > > I was looking at fastmail but which ever you go with, you should setup > your own domain and that way if you don't like your provider you can > change without changing your email address. I"ve decided to do that several times over the past couple decades. Each time I started out trying to pick a domain (that was avaialable) which I wanted to live with for the rest of my life. I could never get past that step. -- Grant ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-25 20:43 ` Dale 2024-09-26 7:13 ` covici @ 2024-09-26 16:09 ` Matt Connell 2024-09-27 15:58 ` Dale 1 sibling, 1 reply; 40+ messages in thread From: Matt Connell @ 2024-09-26 16:09 UTC (permalink / raw To: gentoo-user >On Wed, 2024-09-25 at 15:43 -0500, Dale wrote: > No one here has their system set up to use Gmail for system > emails??? I wouldn't consider gmail an option for any emails, system or otherwise. > On Thu, 2024-09-26 at 02:28 -0500, Dale wrote: > If you know a email service that isn't to expensive but is secure, > not secure enough to block me from doing things I need to do tho, I'm > open to ideas. I'd like something that is outside the USA if > possible. I can happily vouch for Mailfence. I've been a customer for ~7 years now. They are located in Belgium (strong privacy laws), and they have great customer support, with real people who understand things like DKIM. Plus, I can bring my own domain! I pay roughly $3.50 USD per month. They have a free tier plan to try it out and see if it will work out for you. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 2024-09-26 16:09 ` [gentoo-user] " Matt Connell @ 2024-09-27 15:58 ` Dale 0 siblings, 0 replies; 40+ messages in thread From: Dale @ 2024-09-27 15:58 UTC (permalink / raw To: gentoo-user Matt Connell wrote: >> On Wed, 2024-09-25 at 15:43 -0500, Dale wrote: >> No one here has their system set up to use Gmail for system >> emails??? > I wouldn't consider gmail an option for any emails, system or > otherwise. > >> On Thu, 2024-09-26 at 02:28 -0500, Dale wrote: >> If you know a email service that isn't to expensive but is secure, >> not secure enough to block me from doing things I need to do tho, I'm >> open to ideas. I'd like something that is outside the USA if >> possible. > I can happily vouch for Mailfence. I've been a customer for ~7 years > now. They are located in Belgium (strong privacy laws), and they have > great customer support, with real people who understand things like > DKIM. Plus, I can bring my own domain! I pay roughly $3.50 USD per > month. They have a free tier plan to try it out and see if it will > work out for you. > > Would Mailfence, or Proton if you know, be a basic drop in replacement for Gmail? Basically, I don't really need end to end encryption. I just want a provider that doesn't snoop and will tell those who want to snoop to go pound sand. Some countries are better at that than others. Both Mailfence and Proton seem to cost about the same, for the paid plans anyway. I'd start with a free one just to test. If things work fairly well, go to a paid plan. Maybe have my own domain thing that I can move if needed. Honestly tho, I'd want this to be my last move email wise. Thanks for any info you can provide. I really want to tackle this and switch. Dale :-) :-) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [gentoo-user] Computer system email no not working since gmail change. 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 9:03 ` Wolfgang Müller 1 sibling, 0 replies; 40+ messages in thread From: Wolfgang Müller @ 2024-09-26 9:03 UTC (permalink / raw To: gentoo-user On 2024-09-02 21:44, Dale wrote: > Sep 2 21:23:08 Gentoo-1 smartd[20742]: Executing test of <mail> 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 <mail> 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 <mail> to root: failed > (32-bit/8-bit exit status: 256/1) > Sep 2 21:25:25 Gentoo-1 smartd[20742]: Executing test of <mail> 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 ^ permalink raw reply [flat|nested] 40+ messages in thread
end of thread, other threads:[~2024-09-27 16:54 UTC | newest] Thread overview: 40+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox