[imapfilter-devel] IMAPFilter 1.0-rc2

Gautam Gopalakrishnan gautam.gopalakrishnan at its.monash.edu.au
Thu May 6 06:39:05 EEST 2004


On Thu, May 06, 2004 at 11:02:17AM +1000, Gautam Gopalakrishnan wrote:
> On Thu, May 06, 2004 at 02:00:17AM +0300, Lefteris Chatzibarbas wrote:
> > Hello,
> > 
> > The changes since 1.0-rc1 are:
> > 
> >   * Fixed the bug where non-existent mailboxes were not created automatically
> >   when messages were copied or moved to them.
> 
> Nope! move() still loses mail. copy() does not work. I've attached the logs.
> 

Attaching a patch which works.

Gautam

-------------- next part --------------
diff -rc imapfilter-1.0-rc2-old/response.c imapfilter-1.0-rc2/response.c
*** imapfilter-1.0-rc2-old/response.c	Thu May  6 08:28:23 2004
--- imapfilter-1.0-rc2/response.c	Thu May  6 13:34:37 2004
***************
*** 134,140 ****
  			return RESPONSE_CONTINUE;
  	} while ((r = tagged_response(ssn, tag)) == RESPONSE_NONE);
  
! 	if (r == RESPONSE_NO && check_trycreate())
  		return RESPONSE_TRYCREATE;
  
  	return r;
--- 134,140 ----
  			return RESPONSE_CONTINUE;
  	} while ((r = tagged_response(ssn, tag)) == RESPONSE_NONE);
  
! 	if (r == RESPONSE_NO)
  		return RESPONSE_TRYCREATE;
  
  	return r;


More information about the Imapfilter-devel mailing list