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
Nobody/Anonymous
None
None
Public
| Filename | Description | Download |
|---|---|---|
| subscribe_created_mailboxes.patch | patch file | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 256076: subscribe_created_mailboxes.patch | 2007-11-26 08:56 | gerundt |