summaryrefslogtreecommitdiff
path: root/migrationutility/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'migrationutility/main.cpp')
-rw-r--r--migrationutility/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/migrationutility/main.cpp b/migrationutility/main.cpp
index 8913295..9caf780 100644
--- a/migrationutility/main.cpp
+++ b/migrationutility/main.cpp
@@ -155,8 +155,9 @@ int main(int argc, char *argv[])
GoogleSourceServer *source = new GoogleSourceServer(&app);
source->setHost("imap.googlemail.com", 993);
source->setAdminCredentials(args->getOption("from-proxyauth"), args->getOption("from-password"));
- source->setEncryption(KIMAP::LoginJob::TlsV1);
+ source->setEncryption(KIMAP::LoginJob::AnySslVersion);
source->setAuthentication(KIMAP::LoginJob::ClearText);
+ source->setIgnoredFolders(QStringList() << QLatin1String("[Gmail]")); //ignore the virtual folders
if (args->isSet("from-user")) {
source->setSingleUser(args->getOption("from-user"));
}