--- patches/imapsync-ssl.orig.diff 2005-01-28 11:52:47.307847624 -0800 +++ patches/imapsync-ssl.diff 2005-01-28 11:58:18.738462512 -0800 @@ -1,4 +1,4 @@ ---- imapsync Fri Jul 9 11:08:43 2004 +--- imapsync-ssl Fri Jul 9 11:08:43 2004 +++ imapsync-ssl Tue Aug 31 12:13:06 2004 @@ -33,9 +33,9 @@ $Revision: 1.1 $ imapsync --help @@ -45,8 +45,8 @@ $user2 || missing_option("--user2"); $password2 || $passfile2 || missing_option("--passfile2 or --password2"); $password2 = (defined($passfile2)) ? firstline ($passfile2) : $password2; -@@ -402,38 +404,56 @@ unless ($md5_supported) { - $timestart = time(); +@@ -402,39 +404,57 @@ unless ($md5_supported) { + $timebefore = $timestart; $debugimap and print "From connection\n"; -$from = login_imap($host1, $port1, $user1, $password1, $debugimap, $timeout); @@ -86,6 +86,7 @@ + $imap->State($imap->Connected()); + $imap->Fast_io(1); + $imap->Buffer(65536); $imap->Uid(1); $imap->Peek(1); $imap->Debug($debugimap);