Our public folders are not mapped to the "INBOX." folders:
INBOX
INBOX.Sent
INBOX.<more folder>
EDV
EDV.Test folder
<...>
To skip this public folders easily, I added the var "$skip_non_inbox_folders" to "archivesetup.conf" (default=false) and added some lines to "archivesetup.php":
-------------------------8<-------------------------
--- archivesetup.conf Wed May 12 16:28:36 2004
+++ archivesetup.conf Fri Nov 23 15:17:44 2007
@@ -21,5 +21,6 @@
"Deleted Items",
"Trash");
-
+// Skip folders that not begin with "INBOX."
+$skip_non_inbox_folders = false;
?>
--- archivesetup.php Wed May 12 16:27:24 2004
+++ archivesetup.php Fri Nov 23 15:17:35 2007
@@ -82,6 +82,9 @@
foreach ($folders_skip as $skip) {
if ($mailbox == $skip) $skipthis = true;
if (ereg("^$skip", $mailbox)) $skipthis = true;
+ if ($skip_non_inbox_folders) {
+ if (!eregi("^INBOX", $mailbox)) $skipthis = true;
+ }
}
// Set up $script_call and script it to the archive.sh shell script
------------------------->8-------------------------
Greetings,
Tim Gerundt
patch file