Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150723 - Does fetchmail 6.3.5 work with gmail ?
Summary: Does fetchmail 6.3.5 work with gmail ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 03:23 UTC by Grégoire Favre
Modified: 2006-12-07 04:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grégoire Favre 2006-10-10 03:23:31 UTC
Hello,

fetchmail up to 6.3.4 can fetch my emails from my gmail account without problem (using ssl) but with 6.3.5 it fails with authentification error.

Is that a know problem ?
Comment 1 yogeshbug 2006-10-10 04:21:52 UTC
Can you pls paste log of fetchmail.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-10-10 04:48:58 UTC
Please post the actual error...
Comment 3 Grégoire Favre 2006-10-10 07:08:08 UTC
Oops sorry.
From 6.3.4 :
fetchmail
1 message for Gregoire.Favre@gmail.com at pop.gmail.com (2043 octets).
reading message Gregoire.Favre@gmail.com@gmail-pop.l.google.com:1 of 1 (2043 octets) .. flushed

From 6.3.5 :
fetchmail
fetchmail: Authorization failure on FAVRE Gr
Comment 4 Grégoire Favre 2006-10-10 07:08:08 UTC
Oops sorry.
From 6.3.4 :
fetchmail
1 message for Gregoire.Favre@gmail.com at pop.gmail.com (2043 octets).
reading message Gregoire.Favre@gmail.com@gmail-pop.l.google.com:1 of 1 (2043 octets) .. flushed

From 6.3.5 :
fetchmail
fetchmail: Authorization failure on FAVRE Grégoire@gmail-pop.l.google.com
fetchmail: Query status=3 (AUTHFAIL)

Strange, isn't it ?
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2006-10-10 16:48:27 UTC
Seems to work here with 6.3.5 from portage:

ticho@daria ~ $ fetchmail -v
fetchmail: 6.3.5 querying pop.gmail.com (protocol POP3) at Wed Oct 11 01:45:38 2006: poll started
Trying to connect to 66.249.93.109/995...connected.
fetchmail: Issuer Organization: Equifax
fetchmail: Unknown Issuer CommonName
fetchmail: Server CommonName: pop.gmail.com
fetchmail: pop.gmail.com key fingerprint: 59:51:61:89:CD:DD:B2:35:94:BB:44:97:A0:39:D5:B4
fetchmail: POP3< +OK Gpop ready for requests from 147.175.171.246 e34pf1947940ugd
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< USER
fetchmail: POP3< RESP-CODES
fetchmail: POP3< EXPIRE 0
fetchmail: POP3< LOGIN-DELAY 300
fetchmail: POP3< X-GOOGLE-VERHOEVEN
fetchmail: POP3< UIDL
fetchmail: POP3< .
fetchmail: POP3> USER ticho.test@gmail.com
fetchmail: POP3< +OK send PASS
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Welcome.
fetchmail: POP3> STAT
fetchmail: POP3< +OK 2 2584
2 messages for ticho.test@gmail.com at pop.gmail.com (2584 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 1291
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK message follows
[rest of log snipped]

Try running fetchmail with -v option to obtain similar output.
Comment 6 Grégoire Favre 2006-10-11 02:56:00 UTC
fetchmail: 6.3.5 querying pop.gmail.com (protocol POP3) at Wed 11 Oct 2006 11:49:56 CEST: poll started
Trying to connect to 66.249.93.111/995...connected.
fetchmail: Issuer Organization: Equifax
fetchmail: Unknown Issuer CommonName
fetchmail: Server CommonName: pop.gmail.com
fetchmail: pop.gmail.com key fingerprint: "removed to post here"
fetchmail: POP3< +OK Gpop ready for requests from "removed to post here" 13pf7031483ugb
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< USER
fetchmail: POP3< RESP-CODES
fetchmail: POP3< EXPIRE 0
fetchmail: POP3< LOGIN-DELAY 300
fetchmail: POP3< X-GOOGLE-VERHOEVEN
fetchmail: POP3< UIDL
fetchmail: POP3< .
fetchmail: POP3> USER FAVRE Gr
Comment 7 Grégoire Favre 2006-10-11 02:56:00 UTC
fetchmail: 6.3.5 querying pop.gmail.com (protocol POP3) at Wed 11 Oct 2006 11:49:56 CEST: poll started
Trying to connect to 66.249.93.111/995...connected.
fetchmail: Issuer Organization: Equifax
fetchmail: Unknown Issuer CommonName
fetchmail: Server CommonName: pop.gmail.com
fetchmail: pop.gmail.com key fingerprint: "removed to post here"
fetchmail: POP3< +OK Gpop ready for requests from "removed to post here" 13pf7031483ugb
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< USER
fetchmail: POP3< RESP-CODES
fetchmail: POP3< EXPIRE 0
fetchmail: POP3< LOGIN-DELAY 300
fetchmail: POP3< X-GOOGLE-VERHOEVEN
fetchmail: POP3< UIDL
fetchmail: POP3< .
fetchmail: POP3> USER FAVRE Grégoire
fetchmail: POP3< +OK send PASS
fetchmail: POP3> PASS *
fetchmail: POP3< -ERR [AUTH] Username and password not accepted.
fetchmail: [AUTH] Username and password not accepted.
fetchmail: Authorization failure on FAVRE Grégoire@gmail-pop.l.google.com
fetchmail: POP3> QUIT
fetchmail: 6.3.5 querying pop.gmail.com (protocol POP3) at Wed 11 Oct 2006 11:49:56 CEST: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: normal termination, status 3

Why does this version try to use "FAVRE Grégoire" as gmail user instead of gregoire.favre@gmail.com ?
Comment 8 Andrej Kacian (RETIRED) gentoo-dev 2006-10-11 05:34:57 UTC
No idea - I've tested this by adding a "poll ..." block to my .fetchmailrc, and in it, I set user "ticho.test@gmail.com".
Comment 9 Grégoire Favre 2006-10-11 05:46:39 UTC
If I remove the sslkey 'privkey.pem' sslcert 'cacert.pem' it works !!!
I don't know if they are really needed ?
I guess the bug could more or less be closed, but I am not 100% sure...

Thank
Comment 10 Andrej Kacian (RETIRED) gentoo-dev 2006-10-11 09:43:50 UTC
What cert/key is that?
Comment 11 Grégoire Favre 2006-10-11 09:52:53 UTC
The one I created in order to fetch my emails from gmail, which worked till 6.3.4.
Comment 12 Andrej Kacian (RETIRED) gentoo-dev 2006-12-07 04:32:41 UTC
I'm sure you don't need the certificate, as it is possible to log in using standard user/password combination.