Displaying 2 results from an estimated 2 matches for "do_conversion".
2007 Mar 20
1
The perfect Courier -> Dovecot conversion tool
I've tested this only with a test user.
http://dovecot.org/tools/courier-dovecot-migrate.pl
http://wiki.dovecot.org/Migration/Courier
# Migrate Courier IMAP (any version) and Courier POP3 (v0.43+) to
Dovecot v1.0
# by Timo Sirainen. This is public domain.
# Usage: [--quiet] [--convert] [--overwrite] [--recursive] [<conversion
path>]
# --quiet: Print only errors
# --convert: Do
2008 Feb 27
2
Dovecot NFS Indexes and IMAP Migration
...t;$dir/subscriptions";
# MODIFIED: Return only if neither exist
return if (!-f $in_fname && !-f $in_fname2);
if (!$overwrite && -f $out_fname) {
print "$out_fname already exists, not overwritten\n" if (!$quiet);
return;
}
return if (!$do_conversion);
my ($fin, $fin2, $fout);
open ($fin, $in_fname) || die $!;
open ($fin2, $in_fname2) || die $!;
open ($fout, ">$out_fname") || die $!;
# ADDED: An array to track mailboxes we've written in case both files exist
my @subs;
while (<$fin>) {
chomp $_;...