aboutsummaryrefslogtreecommitdiffstats
path: root/imapsync
diff options
context:
space:
mode:
Diffstat (limited to 'imapsync')
-rwxr-xr-ximapsync4
1 files changed, 2 insertions, 2 deletions
diff --git a/imapsync b/imapsync
index 9bcc7b5..45b214f 100755
--- a/imapsync
+++ b/imapsync
@@ -471,7 +471,7 @@ my @MAILBOXES;
}
my $subscribed = mbx_subscribed('local', $mailbox);
$STH_INSERT_MAILBOX->execute($mailbox, $subscribed);
- $IMAP->{remote}->{client}->create($mailbox);
+ $IMAP->{remote}->{client}->create($mailbox, 1);
$IMAP->{remote}->{client}->subscribe($mailbox) if $subscribed;
$DBH->commit();
}
@@ -483,7 +483,7 @@ my @MAILBOXES;
}
my $subscribed = mbx_subscribed('remote', $mailbox);
$STH_INSERT_MAILBOX->execute($mailbox, $subscribed);
- $IMAP->{local}->{client}->create($mailbox);
+ $IMAP->{local}->{client}->create($mailbox, 1);
$IMAP->{local}->{client}->subscribe($mailbox) if $subscribed;
$DBH->commit();
}