Re: [gentoo-user] Can anyone give me a hint how to get this to update?

2021-08-02 Thread Wolfgang Müller
> Just out of curiosity:  on my system  "emerge" always lists the packages
> that would be merged "in order" rather than  "in reverse order".   Where
> can this be configured?
> 
>$ man emerge | grep reverse
> 
> Only finds "reverse dependencies".

This happens when you pass -t or --tree. I don't know of any way to
force emerge to do one or the other.

-- 
Wolf



Re: [gentoo-user] Computer system email no not working since gmail change.

2024-09-26 Thread Wolfgang Müller
On 2024-09-02 21:44, Dale wrote:
> Sep  2 21:23:08 Gentoo-1 smartd[20742]: Executing test of  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  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  to root: failed
> (32-bit/8-bit exit status: 256/1)
> Sep  2 21:25:25 Gentoo-1 smartd[20742]: Executing test of  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