[imapfilter-devel] patch for Solstice2.0p12 IMAP4 server

Johannes Pöhlmann phn at izt.fraunhofer.de
Tue Jan 27 15:42:12 EET 2004


To contact a Sun Imap Server 
 (Banner "* OK XXXXXXXX Solstice (tm) Internet Mail Server (tm) 2.0p12 IMAP4 service ")
I had to patch response.c at line 123: 

-  if (!strcasestr(ibuf.data, "IMAP4rev1")) {   
+ if (!strcasestr(ibuf.data, "IMAP4")) {    
+           puts(ibuf.data);  /* Show capabilities the Server offers */

I do not know if there may be Problems with incompatible IMAP4 Versions
and who os breaking which standard here. 

In fact, imapfilter works with this patch and 
SUN's Solstice (tm) Internet Mail Server (tm) 2.0p12 IMAP4 server.

I think, the keyword "IMAP4rev1" should be made configurable
as part of the account settings.

Also, a observation for the sample-imapfilterrc File:

Subfolders had to be accessed as "Mail/subfolder1", whereas "/Mail" is 
my IMAP Folder Prefix.

Great tool, after all! And very fast!

Johannes




More information about the Imapfilter-devel mailing list