From: Matthias A. <mat...@gm...> - 2009-06-23 15:38:16
|
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 |