Quick IMAP report

Writing and using PopTray plug-ins

Moderators: KY Dave, jojobear99, Rdsok

Locked
Edward Mendelson
Groupie
Posts: 72
Joined: Thu Jun 20, 2002 5:27 am

Quick IMAP report

Post by Edward Mendelson » Tue Sep 07, 2004 7:13 pm

Here's a quick report on how the IMAP plugins work for at least one user:

The IMAP4rev1(c-client) produces "cannot connect to server" errors when I try it with www.mac.com, www.myrealbox.com, and my mail server at Columbia.edu.

The older IMAP4 plugin works perfectly with www.mac.com and www.myrealbox.com; neither of these, by the way, uses SSL4. Unfortunately, with the IMAP server at Columbia.edu, the IMAP4 plugin retrieves the list of messages perfectly, but locks up 90 percent of the time when I try to preview it.

Obviously, as people have said here, IMAP implementations are different on different servers. I wish I had an account on the Columbia.edu server that I could let someone use for testing, but I don't.

Edward Mendelson

User avatar
Rdsok
PopTray Family
Posts: 1416
Joined: Fri Mar 19, 2004 11:36 pm
Location: Norman, Oklahoma USA
Contact:

Post by Rdsok » Wed Sep 08, 2004 4:04 am

Hi Edward,

Since I'm not sure how often the programmer, eyebex, of the IMAP4rev1 (c-client) plug-in drops in on the forum, I thought I'd throw out one very slim possible solution.

I believe it is slim because I think you've had problems with the IMAP plugins for quite sometime but it can't hurt to just thow it out there.

Several of the MS security updates have caused problems with various internet related programs. The problems have been reported on Win9x and WinNT based OS's (you probably know that Win2k and WinXP are NT based). This fix simply requires that you reset IE Options back to their default values. There are several way's to do this but this is one way. Open IE, select TOOLS from the menu, select INTERNET OPTIONS, then select the ADVANCED OPTIONS tab and on the bottom of that page is a button labeled RESTORE DEFAULTS, just click that button, close the windows and close IE. At this point you can, again :roll: , enable the plugin in PopTray. Don't forget to close PopTray and restart it since the plugins seem to error out if you don't.

One other possiblity I just thought about, temporarily disable your firewall software just to ensure that it isn't blocking some of your access. I've had several different firewalls that have messed up in this reguard. Remember after testing this to turn your firewall back on, as you problably know, you can't be too careful when it comes to security.

I really hope that helps, but like I mentioned before, it is only a slim chance, I believe, in your case.

P.S. Please forgive my bad grammer also.. :D

Edward Mendelson
Groupie
Posts: 72
Joined: Thu Jun 20, 2002 5:27 am

Post by Edward Mendelson » Thu Sep 09, 2004 5:18 pm

Hi, Rdsok,

Many thanks for those detailed suggestions. I'm running mostly under Windows 98 SE (but will try this when I dual-boot to XP later today or tomorrow). Unfortunately, resetting the IE advanced options to the defaults and turnng off ZoneAlarm Pro had no effect. The newer C+ plugin still reported that it could connect to the server, and the older one still locked up when previewing a message.

I'll keep hoping, though, because the older plugin does work perfectly with the accounts that I don't much use. I only wish it worked with the ones I do use!

Edward Mendelson

eyebex
Groupie
Posts: 54
Joined: Fri Aug 30, 2002 4:08 pm

Post by eyebex » Fri Sep 10, 2004 8:20 pm

i uploaded a new package of the new c++ imap plugin which now also includes a debug build (no other changes though, yet). get it from:

http://prdownloads.sourceforge.net/popt ... p?download

if you like, copy the dll from the debug directory to your poptray plug-ins directory to use it. three log files will be created in poptray's main directory. these files will contain your password in plain text, so be sure to remove those before you send me the logs.

nico35
First Timer
Posts: 3
Joined: Tue Sep 09, 2003 9:44 am

Post by nico35 » Sat Sep 11, 2004 1:27 pm

Hi Eyebex,

It seems that there's no fallback strategy for checking new mail if the server does not support the SEARCH command.

cf logs hereafter
==============================================
[NIL] Trying IP address [64.12.138.215]
[NIL] Mailbox is empty
[ERROR] Command 'SEARCH' not supported
[NIL] Winsock cleanup
==============================================
....
00000001 OK LOGIN completed
00000002 CAPABILITY
* CAPABILITY IMAP4rev1 LITERAL+ XAOL-ENVELOPE XAOL-NETMAIL XAOL-OPTION XAOL.BODYSTRUCTURE XAOL-FILTER QUOTA NAMESPACE
00000002 OK CAPABILITY completed
00000003 SELECT INBOX
* 1 EXISTS
* OK [UIDVALIDITY 1] UID validity status
* OK [UIDNEXT 9593508] predicted next UID
* 1 RECENT
* FLAGS (\Seen \Deleted XAOL-READ XAOL-GOODCHECK-DONE XAOL-CLIENT-BULK XAOL-GOOD \Draft \Flagged \Answered $MDNSent XAOL-VOICEMAIL XAOL-BULK XAOL-PRIORITY-MAIL XAOL-BILLPAY-MAIL XAOL-OFFICIAL-MAIL XAOL-VIRUS-REPAIRED XAOL-VIRUS-NOT-SCANNED)
* OK [PERMANENTFLAGS (\Seen \Deleted XAOL-GOODCHECK-DONE XAOL-CLIENT-BULK XAOL-GOOD \Draft \Flagged \Answered $MDNSent)] Permanent flags
* OK [UNSEEN 1] First unseen
00000003 OK [READ-WRITE] SELECT completed
00000004 SEARCH UNDELETED UNSEEN
00000004 NO Command 'SEARCH' not supported
00000005 NOOP
00000005 OK NOOP completed
00000006 CLOSE
00000006 OK CLOSE completed
00000007 LOGOUT
* BYE IMAP4rev1 Server logging out
00000007 OK LOGOUT completed
============================================
[InterfaceVersion] () -> 1
[Protocols] (0012FBB8) -> void
[SetOnWork] (0050BF38,00B6250C) -> void
[Connected] () -> 0
[Connect] (imap.cs.com,143,IMAP4rev1,xxxx,xxxxx,30000) -> void
[Init] () -> void
[mm_log] (Trying IP address [64.12.138.215],0) -> void
[mm_dlog] (* OK imap-m04 v37.3 server ready) -> void
[mm_notify] (00D458A0,imap-m04 v37.3 server ready,0) -> void
[mm_dlog] (00000000 CAPABILITY) -> void
[mm_dlog] (* CAPABILITY IMAP4rev1 LITERAL+ XAOL-ENVELOPE XAOL-NETMAIL XAOL-OPTION XAOL.BODYSTRUCTURE XAOL-FILTER QUOTA NAMESPACE) -> void
[mm_dlog] (00000000 OK CAPABILITY completed) -> void
[mm_login] (0012DE4C,0012E5EC,0012E1EC,0) -> void
[mm_dlog] (<suppressed>) -> void
[mm_dlog] (00000001 OK LOGIN completed) -> void
[mm_dlog] (00000002 CAPABILITY) -> void
[mm_dlog] (* CAPABILITY IMAP4rev1 LITERAL+ XAOL-ENVELOPE XAOL-NETMAIL XAOL-OPTION XAOL.BODYSTRUCTURE XAOL-FILTER QUOTA NAMESPACE) -> void
[mm_dlog] (00000002 OK CAPABILITY completed) -> void
[mm_dlog] (00000003 SELECT INBOX) -> void
[mm_dlog] (* 1 EXISTS) -> void
[mm_exists] (00D458A0,1) -> void
[mm_dlog] (* OK [UIDVALIDITY 1] UID validity status) -> void
[mm_dlog] (* OK [UIDNEXT 9593508] predicted next UID) -> void
[mm_dlog] (* 1 RECENT) -> void
[mm_dlog] (* FLAGS (\Seen \Deleted XAOL-READ XAOL-GOODCHECK-DONE XAOL-CLIENT-BULK XAOL-GOOD \Draft \Flagged \Answered $MDNSent XAOL-VOICEMAIL XAOL-BULK XAOL-PRIORITY-MAIL XAOL-BILLPAY-MAIL XAOL-OFFICIAL-MAIL XAOL-VIRUS-REPAIRED XAOL-VIRUS-NOT-SCANNED)) -> void
[mm_dlog] (* OK [PERMANENTFLAGS (\Seen \Deleted XAOL-GOODCHECK-DONE XAOL-CLIENT-BULK XAOL-GOOD \Draft \Flagged \Answered $MDNSent)] Permanent flags) -> void
[mm_dlog] (* OK [UNSEEN 1] First unseen) -> void
[mm_notify] (00D458A0,[UNSEEN 1] First unseen,0) -> void
[mm_dlog] (00000003 OK [READ-WRITE] SELECT completed) -> void
[LastErrorMsg] () -> 00000000
[mm_dlog] (00000004 SEARCH UNDELETED UNSEEN) -> void
[mm_dlog] (00000004 NO Command 'SEARCH' not supported) -> void
[mm_log] (Command 'SEARCH' not supported,2) -> void
[CheckMessages] () -> 0

[mm_dlog] (00000005 NOOP) -> void
[mm_dlog] (00000005 OK NOOP completed) -> void
[Connected] () -> 1
[DisconnectWithQuit] () -> void
[mm_dlog] (00000006 CLOSE) -> void
[mm_dlog] (00000006 OK CLOSE completed) -> void
[mm_dlog] (00000007 LOGOUT) -> void
[mm_dlog] (* BYE IMAP4rev1 Server logging out) -> void
[mm_notify] (00D458A0,IMAP4rev1 Server logging out,4) -> void
[mm_dlog] (00000007 OK LOGOUT completed) -> void
[mm_log] (Winsock cleanup,0) -> void

eyebex
Groupie
Posts: 54
Joined: Fri Aug 30, 2002 4:08 pm

Post by eyebex » Sat Sep 11, 2004 2:50 pm

Yes, I know. This is especially a problem with AOL servers. Some time ago I was in e-mail contact with a guy how wanted to write a fallback solution using the FETCH FAST command. Unfortunately he never came back to me with a patch to integrate into my sources. Was that guy you, nico35?

eyebex
Groupie
Posts: 54
Joined: Fri Aug 30, 2002 4:08 pm

Post by eyebex » Sat Sep 11, 2004 3:43 pm

@nico35:
Could you please try if http://www.tu-bs.de/~y0011326/PopTray_P ... -Debug.zip works for you (this version now uses FETCH FAST only)?

nico35
First Timer
Posts: 3
Joined: Tue Sep 09, 2003 9:44 am

Post by nico35 » Mon Sep 13, 2004 9:11 am

Hi Eyebex,

nope I'm not this guy.
The debug version does not work for me neither.
It seems the SEARCH command is still used.

[NIL] Trying IP address [64.12.180.150]
[ERROR] Command 'SEARCH' not supported
[NIL] Winsock cleanup

User avatar
Rdsok
PopTray Family
Posts: 1416
Joined: Fri Mar 19, 2004 11:36 pm
Location: Norman, Oklahoma USA
Contact:

Post by Rdsok » Mon Sep 13, 2004 4:44 pm

nico35,

You may have already tried this but it can't hurt to mention it. Unless there is a problem eyebex missed. After making changes to plugins, always close and restart PopTray. Quite alot of PopTray works from memory and a restart will force a reload.

eyebex
Groupie
Posts: 54
Joined: Fri Aug 30, 2002 4:08 pm

Post by eyebex » Mon Sep 13, 2004 9:02 pm

@nico35:
sorry, my fault, i uploaded the wrong version. please try again (same link as above).

Guest

Post by Guest » Tue Sep 14, 2004 12:31 pm

This version works fine :-)

eyebex
Groupie
Posts: 54
Joined: Fri Aug 30, 2002 4:08 pm

Post by eyebex » Tue Sep 14, 2004 4:38 pm

thanks for the feedback. i'm waiting for edward (who started this thread) to send in the logs to see if there's a bug in the plug-in, then i'll release a new version.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest