Re: trouble with gmail

Mike Hodson <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <CAN++4hEcgDq1uONfqciMmO0vkKCGrFmJriosNbDFzBEcKuyMdQ@mail.gmail.com>
Hello Mick,

Let's start with the somewhat obvious (on second inspection) lack of SSL in
the SimpleIMAPRetriever type for gmail.  It would seem Dreamhost doesnt use
SSL or may use STARTTLS; GMail loves SSL and since you have specified a
SSL-only port (no STARTTLS just raw SSL) you should try first
"SimpleIMAPSSLRetriever" as documented in the help:
http://pyropus.ca/software/getmail/configuration.html#retriever-simpleimapssl

I hope this helps!

Mike


On Sat, Mar 31, 2018 at 9:27 AM, mick crane <[email protected]> wrote:

> hello,
> I can receive emails OK for this hosting company address but gmail is not
> working.
> I have turned on the allow insecure agents bit at gmail.
> Used fetchmail in the past and it worked OK except gmail keep changing the
> fingerprint or something.
> This new debian testing installation doesn't seem to have fetchmail as an
> option but I want to use getmail to see if it works nicer with ssl if I get
> around to it.
>
> this works OK
>
> [retriever]
> type = SimpleIMAPRetriever
> server = sub4.homie.mail.dreamhost.com
> username = myrealusername@mydomain
> password = ********
>
> [destination]
> type = MDA_external
> path = /usr/lib/dovecot/deliver
>
> [options]
> delete = true
>
> this isn't OK
>
> [retriever]
> type = SimpleIMAPRetriever
> server = imap.gmail.com
> port=993
> username = myrealusername
> password = ************
> mailboxes = ALL
>
> [destination]
> type = MDA_external
> path = /usr/lib/dovecot/deliver
>
> [options]
> verbose = 0
> delete = false
> message_log = ~/.getmail/log
>
> I've tried various options
> username with and without the @gmail.com bit
> and using getmail default port.
>
> get message
> getmailrc0: operation error (IMAP error (socket error: EOF))
>
> Is there something blindingly obvious I'm missing ?
>
>
> cheers
>
> mick
>
> ---------------------------------------------------------------------
> 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.