The archive.php script don't subscribe to created mailboxes. This patch fix it:
-------------------------8<-------------------------
--- scripts/archive.php.org Wed May 12 20:55:58 2004
+++ scripts/archive.php Mon Nov 26 09:21:20 2007
@@ -48,6 +48,9 @@
function createmailbox($mbox, $server, $mailbox) {
global $src_username;
if (@imap_createmailbox($mbox,imap_utf7_encode("{" . $server . "}$mailbox"))) {
+
+ @imap_subscribe($mbox, "{" . $server . "}" . $mailbox);
+
$status = @imap_status($mbox,"{" . $server . "}" . $mailbox,SA_ALL);
if($status) {
print("$src_username - $mailbox:\n");
------------------------->8-------------------------
Greetings,
Tim Gerundt
patch file