[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [imapsync] speed problem for large mails
|
From |
Gilles LAMIRAL <gilles dot lamiral at laposte dot net> |
|
Subject |
Re: [imapsync] speed problem for large mails |
|
Date |
Thu, 15 Jan 2009 08:27:30 +0100 |
Hello Stefan,
>> Meanwhile I found out, that the first mremap is done, when the buffer grows
>> larger than 176KB. I will dig deeper...
>
> OK, I found something!
> When I can make a connection without SSL, then the transfer is lightning fast!
> As I expected it... 78MB in about 25 seconds.
>
> I try to avoid SSL.
Funny, that's one of the first thing I thought reading your issue
and I said to myself "enough with --split and my many questions".
So thanks, now we can add a good FAQ entry. I'll be happy if you write
this small documentation (plain ascii is good), I don't have much time.
See the FAQ file for an example.
You can also try ssl with external ssl support stunnel,
from the FAQ :
=======================================================================
Q. Does imapsync support IMAP over TLS (IMAPS)?
R. Yes natively since release 1.161.
still, 2 ways, at least :
a) Use --ssl1 and/or --ssl2 options
--ssl1 tells imapsync to use ssl on host1
--ssl2 tells imapsync to use ssl on host2
b) Use stunnel
http://www.stunnel.org/
Assuming there is an imaps (993) server on imap.foo.org,
on your localhost machine (or bar machine) run :
stunnel -c -d imap -r imap.foo.org:imaps
or using names instead of numbers
stunnel -c -d 143 -r imap.foo.org:993
then use imapsync on localhost (or bar machine) imap (143) port.
--
Au revoir, 02 99 64 31 77
Gilles Lamiral. France, Chavagne (35310) 06 20 79 76 06