On Sun, Aug 02, 2009 at 02:35:56PM +0200, Zsolt Udvari wrote:
> 
> So I've created a symlink  .claws_cache to .sylpheed_cache and it works ;)
> After that I've created a patch to support claws-mail:
> 
> --- mairix-0.21-orig/dirscan.c        2007-06-22 22:18:00.000000000 +0200
> +++ mairix-0.21/dirscan.c     2009-08-02 11:32:54.901739313 +0200
> @@ -262,6 +262,9 @@
>          /* Sylpheed */
>          has_child_file(path, ".sylpheed_cache") ||
>          has_child_file(path, ".sylpheed_mark") ||
> +             /* Claws-mail */
> +             has_child_file(path, ".claws_cache") ||
> +             has_child_file(path, ".claws_mark") ||
>          /* NNML (Gnus) */
>          has_child_file(path, ".marks") ||
>          has_child_file(path, ".overview") ||

This is already in the git repository, but not in the last release (0.21).

> --- mairix-0.21-orig/search.c 2007-06-22 22:18:00.000000000 +0200
> +++ mairix-0.21/search.c      2009-08-02 12:13:56.618576447 +0200
> @@ -611,7 +611,7 @@
>    result = new_array(char, len + 1 + sizeof(":2,FRS"));
>    strcpy(result, output_dir);
>    strcat(result, is_in_new ? "/new/" : "/cur/");
> -  sprintf(uniq_buf, "123456789.%d.mairix", token);
> +  sprintf(uniq_buf, "1234%d", token);
>    strcat(result, uniq_buf);
>    if (is_seen || is_replied || is_flagged) {
>      strcat(result, ":2,");
> 
> 
> The patch of search.c needed because claws-mail doesn't handle
> "123456789.nnn.mairix"-style  filenames. I hope that the latest patch
> doesn't conflict anything.

I thought claws uses MH by default, yet this fix is in the code that
creates names for maildir.  Are you using a maildir extension to claws?


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mairix-users mailing list
Mairix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mairix-users

Reply via email to