Re: TLS failure with getmail-5.15

明道何 <[email protected]> Wed, 10 Aug 2022 18:13:27 -0500
Newsgroups gmane.mail.getmail.user
Message-ID <YvQ7l1J8D/[email protected]>
On Wed, Aug 10, 2022 at 06:10:00PM -0400, 明道 何 wrote:
> Could someone just give me a URI to read how to enable TLS for getmail-5.15?  
> 
> mingdao@shuttle ~ $ /usr/bin/getmail -rBruce-techfixrc -rHPC-Brucerc
> Bruce-techfixrc: operation error (POP error (-ERR Your mailbox cannot be accessed. Please activate TLS in your mail program.))
> HPC-Brucerc: operation error (POP error (-ERR Your mailbox cannot be accessed. Please activate TLS in your mail program.))
>  
> IONOS emailed that "unencrypted access and the use of the outdated TLS 1.0 and 1.1 encryption protocols to our email servers will no longer be possible on August 9, 2022".
> 
> I added under the [retriever] section:
> ssl_version = tlsv1_2
> 
> The new output from /usr/bin/getmail -rmingdao-TechFixrc
> Warning: ignoring unknown parameter "ssl_version" (value: tlsv1_2)
> mingdao-TechFixrc: operation error (POP error (-ERR Your mailbox cannot be accessed. Please activate TLS in your mail program.))

I fixed it by adding this:
ssl_version = tlsv1_2
and changing SimplePOP3Retriever to SimplePOP3SSLRetriever

Also had to add "tls_starttls off" to ~/.msmtprc to send over port 465.
-- 
TechFix, Inc.               >')
805 Grant Street            ( \
Bessemer, AL 35020           ^^
[email protected]
http://www.techfix.me/

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting