From: Valentin M. <fet...@mr...> - 2009-06-24 14:57:23
|
-------- Original Message -------- Subject: Re: [fetchmail-devel] Fetchmail & Yahoo Date: Wed, 24 Jun 2009 15:44:59 +0300 From: Valentin Manea <fet...@mr...> To: Matthias Andree <mat...@gm...> On 06/23/2009 04:38 PM, Matthias Andree wrote: > Valentin Manea schrieb: > > >> This has been hunting me for a while now but it seems after Yahoo >> released Zimbra it is possible to get your email from Yahoo without >> those ugly solutions. The catch is that before authentication you have >> to send a custom command to the server. I've made a small change in >> imap.c and now finally I can use fetchmail with my free yahoo account. >> As I'm not that familiar with the developing for fetchmail I would >> really not send a patch but only describe what I did. >> > > >> So I've just added this line: >> gen_transact(sock, "ID (\"guid\" \"1\")"); >> in *imap_getauth* after the SSL stuf. This doesn't seem to affect normal >> IMAP servers in any way. >> > > Where would I look for documentation for this Yahoo IMAP server requirement, or > how else have you found out what was needed? Is this "1" really a constant? > Technically, it seems to be RFC-2971 and if the Zimbra server side, or Yahoo's > deployment, actually requires this, it is a RFC-2971 violation, see the "MUST > NOT" clauses in section 3 of said RFC. > > Does it work to send . ID NIL? > I should rather not like to send random data there unless needed, and GUID > raises some suspicions... > > Thank you& best regards > Matthias Andree > Damned Reply, once more with the correct address: There is no documentation, I've just sniffed an older Zimbra Desktop which did not use SSL. You are right, it is not RFC-2971 because I'm unable to login using ID NIL and also it doesn't seem to accept other tags. Also *1* does not seem to be a constant, I've tried some random numbers and I was still able to login. Best Regards, Valentin |