[imapfilter-devel] fetchheader change in v1.2?

Lefteris Chatzibarbas lefcha at hellug.gr
Thu Mar 9 22:12:36 EET 2006


On Thu, Mar 09, 2006 at 11:44:54AM -0800, Dale Harris wrote:
> On 2006-03-09 at 21:38, Lefteris Chatzibarbas <lefcha at hellug.gr> elucidated:
> > 
> > Thanks a lot for the backtrace.
> > 
> > Could you run also imapfilter with the -d option and send me the
> > relevant ~/.imapfilter/debug.* file?
> > 
> > L.
> > 
> 
> 
> Attached.

Sending a patch for you to try.  Apply and test like this (Debian):

  tar zxf imapfilter-1.2.tar.gz
  patch -p0 < patch-1.2-1
  cd imapfilter-1.2
  make INCDIRS=-I/usr/include/lua50 LIBS="-llua50 -llualib50 -lssl -lcrypto" SHAREDIR=.
  ./imapfilter

Thanks again for reporting this

L.
-------------- next part --------------
diff -ruN imapfilter-1.2.orig/response.c imapfilter-1.2/response.c
--- imapfilter-1.2.orig/response.c	2006-03-02 00:17:51.000000000 +0200
+++ imapfilter-1.2/response.c	2006-03-09 22:05:11.000000000 +0200
@@ -56,7 +56,7 @@
 	{ "FLAGS \\(([[:print:]]*)\\)", NULL, 0, NULL },
 	{ "INTERNALDATE \"([[:print:]]*)\"", NULL, 0, NULL },
 	{ "RFC822.SIZE ([[:digit:]]+)", NULL, 0, NULL },
-	{ "\\* [[:digit:]]+ FETCH \\(BODY\\[[[:print:]]*\\] "
+	{ "\\* [[:digit:]]+ FETCH \\([[:print:]]*BODY\\[[[:print:]]*\\] "
 	  "(\\{([[:digit:]]+)\\}\r\n|\"([[:print:]]*)\")", NULL, 0, NULL },
 	{ NULL, NULL, 0, NULL }
 };


More information about the Imapfilter-devel mailing list