Skip to content

Commit

Permalink
pop3-migration: If we matched all the IMAP (but not all POP3) message…
Browse files Browse the repository at this point in the history
…s, log about it.
  • Loading branch information
sirainen committed Jan 24, 2016
1 parent c39c3d8 commit e9d659a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/pop3-migration/pop3-migration-plugin.c
Expand Up @@ -573,6 +573,10 @@ pop3_uidl_assign_by_hdr_hash(struct mailbox *box, struct mailbox *pop3_box)
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));
Expand Down

0 comments on commit e9d659a

Please sign in to comment.