Mercurial > dovecot > core-2.2
changeset 19619:c1ba198e8b50
pop3-migration: If we matched all the IMAP (but not all POP3) messages, log about it.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sun, 24 Jan 2016 17:38:39 +0200 |
parents | 591fa1448786 |
children | 9658506bb3ab |
files | src/plugins/pop3-migration/pop3-migration-plugin.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/pop3-migration/pop3-migration-plugin.c Sun Jan 24 17:13:04 2016 +0200 +++ b/src/plugins/pop3-migration/pop3-migration-plugin.c Sun Jan 24 17:38:39 2016 +0200 @@ -573,6 +573,10 @@ missing_uids_count, pop3_map[first_missing_idx].pop3_seq, pop3_map[first_missing_idx].pop3_uidl); + if (imap_count + missing_uids_count == pop3_count) { + str_append(str, " - all IMAP messages were found " + "(POP3 contains more than IMAP INBOX - you may want to set pop3_migration_all_mailboxes=yes)"); + } if (!mstorage->ignore_missing_uidls) { i_error("%s - set pop3_migration_ignore_missing_uidls=yes to continue anyway", str_c(str));