Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 96:16:18 |
Calls: | 290 |
Files: | 904 |
Messages: | 76,426 |
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!
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
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. ;-)
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.
covici@ccs.covici.com wrote:
On Wed, 25 Sep 2024 16:43:09 -0400,
Dale wrote:
Dale wrote:I would never use a free Email service to send -- its worth exactly
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.á
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.á ;-)á
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