Re: Running getmail with python3

Adrian Pepper <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Have there been any changes to this situation since the posting date?

Am I correct in assuming that this means that even most recent versions
of getmail still cannot do STARTTLS under IMAP, and must use the deprecated
IMAPS?

On the other hand, although updated last November,
http://pyropus.ca/software/getmail/getmailrc-examples

does not contain an example of
type = SimpleIMAPSSLRetriever

which is what I am using.
Nor does it contain "password_command = " examples.
So I'm sort of baffled how I wrote my config.

Oh...
/usr/share/doc/getmail
/usr/share/doc/getmail/configuration.txt.gz

     * SimplePOP3Retriever - for single-user POP3 mail accounts.
     * BrokenUIDLPOP3Retriever - for broken POP3 servers that do not
       support the UIDL command, or which do not uniquely identify
       messages; this provides basic support for single-user POP3 mail
       accounts on such servers.
     * SimpleIMAPRetriever - for single-user IMAP mail accounts.
     * SimplePOP3SSLRetriever - same as SimplePOP3Retriever, but uses SSL
       encryption.
     * BrokenUIDLPOP3SSLRetriever - same as BrokenUIDLPOP3Retriever, but
       uses SSL encryption.
     * SimpleIMAPSSLRetriever - same as SimpleIMAPRetriever, but uses SSL
       encryption.
     * MultidropPOP3Retriever - for domain mailbox (multidrop) POP3 mail
       accounts.
     * MultidropPOP3SSLRetriever - same as MultidropPOP3Retriever, but
       uses SSL encryption.
     * MultidropSDPSRetriever - for domain mailbox SDPS mail accounts, as
       provided by the UK ISP Demon.
     * MultidropIMAPRetriever - for domain mailbox (multidrop) IMAP mail
       accounts.
     * MultidropIMAPSSLRetriever - same as MultidropIMAPRetriever, but
       uses SSL encryption.

SimpleIMAPSSLRetriever uses IMAPS (port 993) and cannot use STARTTLS?
I find no mention of "starttls" (using effectively "grep -i") in that page.
In fact no mention of "starttls" ("grep -i") and little mention of
"tls" ("grep -i") in any pages in that directory.  (Doing appropriate
decompression).

I thought I had read explicitly somewhere though that STARTTLS cannot be done?
(It doesn't seem to be in the FAQ, though).

(Version 5.5-3 as one seems to easily get under Ubuntu 18.04).

Despite the above near-rant, I appreciate your position of needing to
deal with unwanted changes in order to obtain wanted improvements.

And thankyou for having written such a more straightforward alternative
to the often suggested alternative.

I run a lot of containers so I should be able to easily download and
install the tarball without using it in "production".  To check for
documentation updates, at least.

Is anything re: getmail at github authorative?


Adrian Pepper
[email protected]

> From [email protected] Fri Oct 26 10:07:55 2018
> To: [email protected]
> Subject: Re: Running getmail with python3
> 
> Daniel Kahn Gillmor <[email protected]> wrote:
> > 
> >   https://marc.info/?l=getmail&m=151542154628352&w=2
> > 
> > suggested that converting to python3 was not a priority for Charles.
> 
> To be slightly more precise, I have nothing against Python 3.  I'm just not
> willing to drop compatibility with everything before Python 2.7 to get there.
> The minimum version required can't go above Python 2.5 for another few years,
> I think.
> 
> > Sadly, the lack of a robust test suite makes it difficult to know
> > whether any conversion has broken anything :/
> 
> If I could go back to 1998, when I wrote the first version of getmail, I would
> start with tests.  Unfortunately that's not possible... the world of software
> development has changed a lot in 20 years.  Also unfortunately, getmail
> doesn't pay the bills, so investing major effort into it without a sponsor
> isn't practical.
> 
> Charles
> -- 
> -----------------------------------------------------------------------
> Charles Cazabon
> GPL'ed software available at:               http://pyropus.ca/software/
> -----------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.