fetchmail-friends
[Top] [All Lists]

[fetchmail]Using AOL's IMAP server with Fetchmail

2004-05-16 17:20:46
The good news is it works, more or less.  The bad news is that AOL's IMAP
server is (wait for it) broken.  I know, what a shock.

I'm using fetchmail v6.2.5 on Linux, and my .fetchmailrc currently looks 
like [1].  It works as show but I can't use 'keep'.

The problem is that per [2] the AOL IMAP is broken in that it reports 
IMAP4 but does not support 'SEARCH'.  If using 'keep' you get results like 
the following, where all messages are reported as having already been 
seen even though in this example, message 21 is brand new.

/root# fetchmail -vf fm.aol
fetchmail: 6.2.5 querying imap.aol.com (protocol IMAP) at Sun, 16 May 2004 
19:22:05 -0400 (EDT): poll started
fetchmail: IMAP< * OK imap-m07 v32.8 server ready
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 LITERAL+ XAOL-ENVELOPE XAOL-NETMAIL 
XAOL-OPTION XAOL-FILTER QUOTA NAMESPACE
fetchmail: IMAP< A0001 OK CAPABILITY completed
[...]
fetchmail: IMAP< * OK [UNSEEN 21] First unseen
fetchmail: IMAP< A0003 OK [READ-WRITE] SELECT completed
fetchmail: IMAP> A0004 SEARCH UNSEEN NOT DELETED
fetchmail: IMAP< A0004 NO Command 'SEARCH' not supported
21 messages (21 seen) for aoluser1 at imap.aol.com.
[...]


If using 'fetchall' as below [1] it seems to work, but removes the mail
from the AOL server.  For various reasons I'd rather keep it there for the
27 days or so it would normally hang around.

Anyone have any work-around ideas?

TIA,
JP


[1] Working .fetchmailrc:
set syslog
set postmaster "postmaster"
set no bouncemail
set no spambounce
set daemon 3600    # (in seconds) = 1 hour

poll imap.aol.com with proto imap
    user 'aoluser1' there with password 'pass' is 'localu1'  here fetchall
#    user 'aoluser2' there with password 'pass' is 'localu2' here fetchall
#    user 'aoluser3' there with password 'pass' is 'localu3' here fetchall


[2] http://lists.ccil.org/pipermail/fetchmail-friends/2001-May/004679.html

------------------------------|:::======|--------------------------------
JP Vossen, CISSP              |:::======|         jp{at}jpsdomain{dot}org
My Account, My Opinions       |=========|       http://www.jpsdomain.org/
------------------------------|=========|--------------------------------
You used to have to reboot the Windows 9.x series every couple of days
because it would crash.  Now you have to reboot Windows 200x or XP every
month on 'Patch Tuesday.'  How is that better or more stable?



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]Using AOL's IMAP server with Fetchmail, JP Vossen <=