You are not logged in.

#1 2008-02-05 20:30:21

kant1
Member
Registered: 2006-11-28
Posts: 57

evolution-exchange patch

Bug #444503 is fixed: evolution now runs filters and junk mail tests on incoming mail.  The patch is documented here:

http://svn.gnome.org/viewvc/evolution-e … ision=1502

It's about time!!  smile  I've been waiting a while to see this bug closed.  Not sure when it will be included in evolution, but in the meantime, here is a patch:


--- trunk/camel/camel-exchange-folder.c    2007/11/14 22:04:04    1501
+++ trunk/camel/camel-exchange-folder.c    2007/11/16 05:50:56    1502
@@ -1132,10 +1132,6 @@
         if (!ok)
             return FALSE;
 
-        if (len)
-            return TRUE;
-
-
         if (folder_flags & CAMEL_STUB_FOLDER_FILTER)
             folder->folder_flags |= CAMEL_FOLDER_FILTER_RECENT;
         if (folder_flags & CAMEL_STUB_FOLDER_FILTER_JUNK)
@@ -1145,6 +1141,10 @@
 
         if (offline_state == CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL )
             return TRUE;
+        
+        if (len)
+            return TRUE;
+
         camel_operation_start (NULL, _("Fetching summary information for new messages"));
         ok = camel_stub_send (exch->stub, ex, CAMEL_STUB_CMD_REFRESH_FOLDER,
                       CAMEL_STUB_ARG_FOLDER, folder->full_name,

It can be added to the PKGBUILD on line 23:

  # Patch for bug 444503
  patch -p1 < ../patch-filters

Offline

Board footer

Powered by FluxBB