we did cleanup the non-clustered spool dirs for the quarantines
which meant that if you create a cluster, all quarantine mails
before that point are deleted, but not removed from the database
instead leave the spool dir where it is, so they can be viewed at
least from the node where they got quarantined
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
my $cid = $cinfo->{'local'}->{cid};
- PMG::MailQueue::create_spooldirs($cid, 1);
+ PMG::MailQueue::create_spooldirs($cid);
PMG::Cluster::sync_config_from_master($cinfo->{master}->{name}, $cinfo->{master}->{ip});
PMG::DBTools::init_masterdb($cid);
- PMG::MailQueue::create_spooldirs($cid, 1);
+ PMG::MailQueue::create_spooldirs($cid);
print STDERR "cluster master successfully created\n";
};