Feature #41
Yahoo imap support
| Status: | New | Start: | 03/04/2010 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - |
Description
Yahoo has imap but it requres an additional command to accept the login.
History
Updated by Lorenzo TheGeek over 2 years ago
Anders Jenbo wrote:
Yahoo has imap but it requres an additional command to accept the login.
Yes, as seen on some forums, the command to be added is:
"ID ("GUID" "1")"
Updated by Lorenzo TheGeek over 2 years ago
Hi,
I've managed to connect to my Yahoo account using this modification on isbg
(this happens right before login)
imap.send('a000 ID ("GUID" "1")\r\n')
imap.readline()
imap.readline()
(the ID func is not defined in imaplib)
To use isbg with that, appropriate arguments would be (you need to create Spam, LearnHam and LearnSpam folders):
isbg_yahoo.py --imaphost imap.next.mail.yahoo.com --ssl --imapuser xxxxxxx@yahoo.fr --spaminbox Spam --learnspambox LearnSpam --learnhambox LearnHam --maxsize 500000 --verbose
Unfortunately, I'm stuck after spam check when ISBG tries to add deleted flags to spam messages, I get an error message:
('uid store', '28990', '+FLAGS.SILENT', '(\\Deleted)') = ('NO', ["STORE error; can't store that data"])
a000 id ("guid" "1")
- ID ("name" "imapgate" "support-url" "http://help.yahoo.com/" "version" "3.5.62.4")
a000 OK ID completed
a001 login <user> <password>
a001 OK LOGIN completed
a002 select Inbox - 2 EXISTS
- 0 RECENT
- OK [UIDVALIDITY 1] UIDs valid
- OK [UIDNEXT 29436] Predicted next UID
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] Permanent flags
a002 OK [READ-WRITE] SELECT completed; now in selected state
a003 uid store 28990 +FLAGS.SILENT (\Deleted)
a003 OK UID STORE completed
Any clue ?
Lorenzo TheGeek wrote:
Anders Jenbo wrote:
Yahoo has imap but it requres an additional command to accept the login.
Yes, as seen on some forums, the command to be added is: "ID ("GUID" "1")"